add global hotkey handler. add missing __all__ flags