more npe checks in muc packet parser
made presences synchronized