fix infinite loop
cppr2.sh --continue now works for basic cases, more testing needed, need to implement --skip and --abort