Add error handling for checking bad jobs.
Fixed error in reporting code.
Should only catch exceptions not programming errors.
Cleaned up code to use less modules.