Finding name of a process?
When the program goes unresponsive, open Activity Monitor and see if a process is followed by a message in red which says unresponsive. You can get the name of the process from there.