add actual keyboard handling
  - for exit (escape key)
  - and for up-down, left-right control