Switch conditional variables to use predicates instead of while loops.
Switch conditional variables to use predicates instead of while loops.

garyfurnish/cgc1,garyfurnish/cgc1,DanGrayson/cgc1,garyfurnish/cgc1,garyfurnish/cgc1,DanGrayson/cgc1,DanGrayson/cgc1,DanGrayson/cgc1