Add a rudimentary minibuffer.
Minibuffer: return to the previous focus.
Adapt to the new way of creating main windows.