more logging cleanup for keypress events.