Instead of making `Base` hold on to an instance variable to the window I added a `window` method that recursively traverse down to find the `window` if the control has been attached. Fixes #90.