make typing more reliable

I moved the actual typing into the backend thread, so the thread can check
that after every keystroke the screen changes. This is much more reliable
than blindly sleeping
Merge pull request #83 from os-autoinst/vnc

make typing more reliable