Those temperatures are fine, the PSU is also fine assuming it is a decent quality unit. May be worth testing your hard drive, if it has issues it could explain random lockups. Running a full memtest would also be worth doing. More RAM could help but only do that if you already have it, don't go spending any money on such an old machine. Beyond that you may just be expecting too much from it, it's a Pentium 4 after all, at least 10 years old.