Workaround for apps that capture keyboard

The implemented solution is hooking onto XNextEvent and checking for the hotkey. I believe there to be no special need for hooking onto XPeekEvent as my checks have shown XPeekEvent to be followed by XNextEvent (this is still to be confirmed generally and I would like an app that actually does the opposite to be able to test it). Communication is done via shared memory with the GUI polling via a 100ms timer.