Magical fixes.
Fix colour code stripping. Improve upon logging situation.