This gets rid of the need to enable/disable the keyboard handling
at various times.
Allows Ctrl-C to work as expected when selecting text in debug/info
sidebar.
Downside is shortcuts that apply to the workspace (select-all, copy
etc) now require the workspace to be focussed.