moved event trigger into ConsoleOutputThread