Pleased that you got it sorted. The problem you describe and the resolution usually
points to the fact that your computer may have been on too long and the system may
have over heated.
It might just be worth your while to check the fan is cooling your machine down properly.
I think that there is a test one can run but not sure how that works, the provider
of your machine might be able to help.