Fixed issues with closing tabs and running the Chrome extension in older browsers, as well as a bunch of old changes I have forgotten about.