Corrected some coding errors.  Refs #7788.
Checkpointing work.  Refs #7788.