Clean up the DebugInfo class

refs #7709
Refactor the WorkQueue class to make error reporting easier

refs #7709