Change logic for control bits to constants. Change event saving so that it doesn't occur during calibration.