process events in consoleOutput() to display error message display right away