It sounds like a power issue to me. If gqcam is activating a USB device that's drawing power, that MAY be a problem.
Sometimes power issues can manifest as freezes or random reboots.
Usually calculators like this can be helpful, and pretty accurate:
http://www.jscustompcs.com/power_supply/
If you are drawing more on your setup than what your supply is rated for, that may be a problem.
If you recently installed memory or something, see if you can find voltage specs of the processor or memory - you may be able to tweak those in BIOS to reduce problems.
Before buying a new power supply, try disconnecting some hardware that you don't often use to see if the freezes decrease.
If you built this computer (or maybe even if you didn't) check for electrical shorts (like screws mounted on the backside of the motherboard).