Refactor state to more global.

Instead of accessing everything with tarabish.
Add chat messages to tables.