Improved hotkey error handling to address issue 20121228