Changed ConsoleInputThread to stop it from throwing errors on exit.