Move levelClock++ to the end, adjust interval checks.