Cool. I'll go pick up a power supply from Fry's tomorrow. The fact that the system turns off earlier and earlier made me think it could be an overheating issue but even if i let the PC rest for a day it still turns off earlier and earlier. It's turned off in 60 seconds before which I think is too early for overheating. I'll see what happens when I replace the power supply first.
Thanks guys.