Bug 924500: Use outer-window-destroyed to detect when a window has been completely closed.
Merge pull request #1260 from Mossop/bug924500

Bug 924500: Use outer-window-destroyed to detect when a window has been completely closed. r=erikvold