removed sending an xmpp message on every friend update and other cleanups