Add ability to create multiple global key handlers that override KeyBindingManager. Refactor dialogs and code hints to use this.