Remove window from parent when clearing

Change-Id: Ic880fd23315b83e7fdca28276a59c667fe01b0dc
Close child windows when closing a window

We don't support (yet?) child windows as sub-QWindows of non-NSWindow
QWindows.

Change-Id: I8202160da17de2c4462ea5db8cbaa25598561e6c