b190448ed4
When we replace the stage Window using a foreign one we also need to destroy the Window we created, if needed, to avoid leaking resources all around. Fixes bug: http://bugzilla.openedhand.com/show_bug.cgi?id=1750