So whenever a program/app becomes unresponsive my macbook starts overheating, any way to stop this occurring? This occurs when any app becomes unresponsive, it's very frustrating.
______________________________________________________
Have a look at Activity Monitor (Applications / Utilities /) and select All Processes and sort by CPU to see what the culprit may be.
Also check the "System Memory" tab to see what your "Page ins:", "Page outs:" and "Swap used:" are.
You could use FORCE QUIT (CMD+OPTION+ESC) to quit the unresponsive application.
PS: The MacBook does not overheat, unless it shuts down to prevent overheating. It just gets hot, due to some process taking up CPU cycles (Activity Monitor will help you finding the culprit) and needing more power.