increased sophistication of SetTimer for keystroke event