Added Chat Formats and Colours. Cleaned up some code.

Added Chat Formats and Colours.
Cleaned up some code.