Enhanced the performance of the console output.

Fixed ScErrInputQueueFull (SCERR1026) exception when using Console.Writeline()