Added chatbox stuff, not quite working yet.