so is there a psu that has a built in surge protector?
again, i pretty much want to have the pc be able to run long enough to save anything and shut the comp off in case of a blackout.
Which problem do you want to solve? A surge protector is for an anomaly that is completely different from a brownout or blackout. The latter is near zero volts. The former is thousands of volts. Which anomaly do you want to solve? Nothing solves both.
All electronics contained some protection even long before the original IBM PC. Your concern is for a rare type of surge (maybe once every seven years) that can overwhelm protection inside any appliance. Those solutions are only connecting devices to what actually does protection. Earth ground is where hundreds of thousands of joules harmlessly dissipate. Effective protectors make a low impedance (ie 'less than 10 foot') connection to what actually protects all appliances.
You have two choices. Let the surge go hunting destructively inside the building. So that it finds earth destructively via any appliance. Or earth that surge BEFORE it can enter.
Even dimmer switches and bathroom GFCIs have protection from surges. Your concern is all appliances that are at risk from the rare surge. What most needs protection during a surge? Smoke detectors. If computer protection is needed, then 'everything' needs that protection.
UPS does not even claim to protect from such transients. View its spec numbers. Those hundreds of joules in a UPS will absorb surges that are hundreds of thousands of joules? Of course not. The UPS is for another and completely different anomaly. A blackout. It provides temporary and 'dirty' power. Why so dirty? Because all electronics are so robust (already contain protection) to make irrelevant high voltage spikes from a UPS in battery backup mode.
UPS is for temporary and dirty power to protect unsaved data. 'Whole house' protector is for a rare transient that can overwhelm protection inside all appliances. To make irrelevant even direct lightning strikes to incoming utility wires Define which anomaly is to be solved before selecting a solution.