Truncate long jobnames to stop PBS from segfaulting
Sorted imports
Improved exception handling and passing tracebacks out of jobs
Kill jobs rapidly if the dispatcher dies