The box over heats while on Facebook/FarmVille and shuts computer down. Would it help to get it up off the flat surface and sit it on a well venilated rack?
Wall mounting may help, whatever puts the vents uppermost.
Personally, I'd open the case and cut some holes in it.