Implemented lobby chat and game chat functionality.