Working revision of code with printing support.

Added checking for scrolling up and down that works with the keyboard keys.
Can also scroll up and down a page at a time.
Fixed a problem where the first key call was always returned immediatley - was
overwritting in the setup for the screen.