Re-write of chat processing in progress.
Completed first attempt at simplification of chat processing methods