I just discovered the xkill command, when a window has crashed you can call xkill and get a skull and crossbones cursor to kill the application.

It even works well with remote GUI applications (Sun Grid Engine SGE).