Fixed a code regression in mainwindow constructor.
New code for improved colored messages in TabOutput.