Added the ability to quit the application with a hotkey.