Stuff for rotating/reflecting windows in frames and for swapping window contents.