Making inputManager a Thread subclass to allow the run loops to work properly.  Modifying unittests.py to match.  Abstracting input char handling to handleInput()