Code style.
Changed it up so lock delay is computed based on the current state rather than the previous one. The old behaviour caused Game Over detection not to work for the TGM curve.