too-clever partialling of terminal control functions
move all terminal stuff to terminalcontrol
move some initialization to __enter__
less clever terminalcontrol
Move events to terminalcontrol
make terminalcontrol independent of Terminal