Add documentation for the protocol between backend and UI
Fixes for chat display
Add a debugging console to the main game screen