A minor cleaning + state changes logged only every 0.5 seconds