Get rid of a couple unused variables. Put the check for continuing the calculation of statString back in.