Changed Processor::run() to catch exceptions and set running to false
before rethrow. (fixes #1)