Define basic function for swapping (the contents of) two windows.
Make `swap-windows` more robust for scenarios in which frame is
displaying more than two windows.