Output uncaught exceptions to error log and attempt to terminate subprocesses when an uncaught exception takes down the process. This fixes #3