Added possibility to add global hotkey.
Removing hotkey on exit.
Changed exit call so that Application.Exit is called.
Made preferences window be shown in taskbar.