Rework colorful logging for console output only

Hi Paul,
I've reworked the console coloring code to make sure it doesn't screw up the file output. Let me know what you think.

Thanks
Andre