Correctly detect externally opened tabs:
directly handle browser.loadURIWithFlags()
(draft for #93)