Fix for some window resize problems. [1558]

The window should now be respected when adding a new tab (including
after closing the “full screen” display).

Windows sizing and bundles still needs some work.