FIX: switch tab and window focus, reimplement without chrome.tabs selected.
Merge branch 'master' into show-selected-only