Catches any exceptions with the chat event and notifies the player that there seems to be an issue.
Added a return value to the onChat method so that value could be logged later.
Implemented new return type for the onChat method
Logs the chat if needed
Added a chat logger. CAVEAT: Cannot currently log to file for some reason. Working on it.
Made the replacement map a final variable