Made a start with the code for global hotkeys