bug with setting chatstatevalue for when signing off
better xmpp status handling
merge in status changes from master