There are ways to run .bat files that include the the emulators .exe and will launch joy2key with the emulator and exit when the emulator closes. Once you have that done you can you replace the emulator .exe in LB with the .bat as the emulator and it will take care of it. Hopefully someone who knows more about writing a .bat than I can help you out with that part of it.