Close to working chat, still fixing issues.