FIX: switch tab and window focus, reimplement without chrome.tabs selected.