Added function to swap/flip the contents of two windows. Also added function to switch from vertical tiling to horizontal tiling and vice versa (at the moment only aligns properly if used in the left or upper window.)