Fix securityUI issue as well as session restore disabling.
Fix bug where URL bar doesn't change when switching tabs.
Disable annoying NS_WARNING.