Implement parentWindow to spec
Implement parentWindow to spec

We need to unmap/remap the window. This is sort of inefficient
because we're repainting the entire window instead of copying
the area, but that's a problem for another day.

magcius/xplain,magcius/xplain