Provides a method for terminating threads over which you otherwise have no
control. Usually works.
NOTE: Still needs some work; if main script editor exits from the event
dispatch thread, an exception is thrown and the exit aborted. Perhaps
ignore event dispatch threads?
Inner Class :public class ThreadTerminatedException extends SecurityException
terminateThreads(ThreadGroup group) Ensure ThreadTermination exceptions are thrown for any thread in the
given group when any such thread causes the security manager to be
invoked.