Updated output files - keyboard input and display mode changing now
implemented and working.