Added keyboard display

Now you can see the keyboard on the screen! Plus some other minor
changes to how lines are displayed