Ok, I get what's going on now. Didn't realize at first since it was one of the first things I changed to avoid exactly what you're going through. The easy solution is to use the ESC key as the b2s.exe's require, and also is the default for pinballX. Bind your exit/end button on your cabinet to ESC. In the vpinball Preferences>Keys menu, check the box "Disable ESC Key" to keep the little menu from popping up when trying to close out a table and mucking things up from within pinballX. When you are using vpinball directly (in the editor), you would press Q to bring up the exit menu and just hit ESC to close the b2s. This generally is not a problem since if you're running tables from vpinball itself, you should have a keyboard nearby. The alternative is to change the close/exit button for pinballX and the b2s exe's to match. Easily done for pinballX, but I don't know if you can do it for the b2s files, but your script takes care of it.