Use safe try/catch for Tree Style Tab API
Don't call gBrowser.hideTab()/showTab()
Other extensions may clear tab state after "TabHide" event (like Tree Style Tab does), but we sometimes want to restore tab!