Move quickSwitch handler to the background page to avoid popup issues.
Merge commit '465df6084e4023b9bcd4494b7e2ac944ae7adf3b'