Focus on active window
Rewrite of reopenWindows.
We now keep properties per tab per window.
Keep focus on the same tab/window as expected