When a window is closed, blank all the tabs.
Added option to reopen window.