sleep 50 ms between key down and key up - perhaps this gives back the mi...

...ssing keys