Further upgrades made to chat server.