Motherfucker have you tried looking at a browser implementation? It might just be the single most complex piece of software on the planet today. It's basically an OS, JS environment and GUI toolkit in one
That would make sense as to why it's such a dogshit piece of software, wouldnt it? That's why windows is bad after all.
Also fun fact. I recently had a spat with firefox taking like 30s to startup, apparently for SOME fucking reason, someone thought a 25s timeout would be sane in the event that discord doesn't detect xdg-desktop-settings or whatever the specific was.