Draw subwindows

The positions are wrong, since we're not doing the translation
correctly.
Getting closer to proper subwindow support
Make sure to clear damage from the subwindow drawing

Oops...
Make child windows work

And add a big long comment at the top to help my logic next time.