Expose program kill function in UI.

Completely untested 10 minute patch.