A psychology professor scans brains to find out where negative thoughts are born.