Some chat UI stuff, preparing for Socket.IO