To at least allow your hotkey to work for exiting the script, change it to *F1::ExitApp so that it works even if modifier keys are in the down state. You should probably also have that hotkey release any keys that might be held down before exiting.
Statistics: Posted by boiler — 39 minutes ago