timeout variable which should prevent most accidental keypresses and keyrepeats (?)