Added some missing session stuff, possibly fixed emotes, initial code for faction invites