Hotkeymonitor now unregisters in proper order