Better code for opening a new window on room join.