More Modifications to checkpoint.cpp

Compiler throwing errors, attempting to resolve with code changes.