Fixed the chat handling and username parsing
Merge pull request #5 from woder/devel

Fixed the chat handling and username parsing