Move join and leave messages before action messages

Also fixes requiring two people to be in a room before playing.