Modified BuildCheckpoints; removed some logging; KGW support for checkpoints.