Bug 833783: Fix leaks in tabs and windows when closing a top-level chrome window.