Added more functionality to the main window to prepare it for adding the keyboard.
Code is essentially ready to hook up the keyboard.