These so-called "hardening scripts" cause a lot of issues and volunteers have to waste their time helping clueless users who copied them without understanding what they do.
I see you're quite active regarding FF. Nevertheless I'm not sure what you're talking about. I've installed Betterfox ESR on Windows, Linux and Android with no apparent issues.
Browsers discard tabs by default, but only when your system is running out of memory. You can use Auto Tab Discard to discard all or most tabs automatically after a certain time.
This has nothing to do with search engines, it substitutes the argument from the search bar into the destination url. "wp XYZ" -> "https://en.wikipedia.org/wiki/XYZ"
It has everything to do the browser feature known as "custom search engines", which is a URL replacement capability that was never limited to actual search engines.
I think with UserChromeJS you can run TabMixPlus too. I don't remember if it needs anything else. (Or a fork like Waterfox, of course.)
But like, if we're turning signature checking and sandboxing off, we're getting pretty far from stock Firefox. And of course, they can (and often will) break it on every update.