Fixes some javadocs and removes whitespaces.
Fixes leaking ChatRoomWrapper instances as configuration listeners, will cause leaking xmpp connection instances.