Initial chatbox module. Pending cleanup and other fixes.