Here is a version for testing. It works well on my cab.
This one uses sensmessagetimout wm_close
This is the proper way to do things but I need to make sure it works. Please test. the semessagetimeout is set to ten seconds. So if it is taking 20 seconds (30 seconds including editor) to exit and kill we know there is a problem.
It should properly wait for both the player and editor to exit and work fine, closing the player first. It may be quicker or slower depending on your system speed and what visual pinball is doing (ie the table), Again, it is the proper way to do it. It takes the same sort of time on my cab for most tables which is ageing a bit now.
Cheers,
Tom
PinballX.zip