Engine and host integration

Host key handler

The app as an extension: its find bar takes Escape and the arrows first; other keys fall through to the editor.