Closing tabs on firefox exit made smarter