When I thought my problems were actually fixed, it turns out they weren't. I no longer have the freeze issue, but my computer restarts at random times (the screen just goes black, and then returns to the bios screen).
I tried to find a pattern for when this actually happens, but couldn't. Some of the moments that are very likely to make my computer restart are listed below:
-opening a new program (although steam & mumble are 2 of the less likely programs to crash it)
-closing a program
-exiting a full screened video (this one is very odd but very consistent, if I leave a video in full screen for more than a minute my PC crashes the moment I press escape or return to desktop button)
All of the vents are spinning, CPU temps is around 45 degrees on average, Motherboard 30 degrees. I tried to take down the vent and re-apply thermal paste, didn't work.
I also tried to upgrade from Windows 8.1 to Windows 10, and the installation crashes during the final restart, while giving me the 0xC1900101 - 0x20017 "Install failed during the SAFE_OS phase with an error on the BOOT operator".
Looking for suggestions on how to fix this once and for all, any help is appreciated.