WARNING: big changes. Tried to use standard Java EE Messaging for the Chat panel.