Removed multithreading.

Removed classes and methods intended for a multithreaded approach to
handling events (such as key presses). This includes the EventHandler
template, the EventQueue class, the ModeFactory class.

The KeyHandler class has taken on most of the functionality that needed
to remain, including the main while loop and the different input modes.