Add keyboard shortcuts and improve focus behaviour
- focus the input when a tab is selected
- focus the toplevel input when clicking anywhere on the toplevel tab
- keep the focus on the editor after evaluation, except in 1-tab mode where we need to switch to the output in the toplevel.