I finally figured out the problem. The clue was when I uninstalled Opera and installed Chrome only for the random closures to keep happening. That's when I installed Avast and Malwarebytes and did a virus scan and sure enough, it found potential keyloggers and a few other suspicious programs. After deleting the viruses Opera now runs fine with all my extensions and I haven't had a problem since.
Do more on the web, with a fast and secure browser!
Download Opera browser with:
- built-in ad blocker
- battery saver
- free VPN