Small logger clean-up.
Fix (=remove) the repeating key press events if the keys are held down.