Add Chat class
Turn chatLog into a local variable
Use ConsoleWriter printError() method to print error messages