Fixing duplicate command issue when joining a room; minor command fixes