make the vnc typing even more careful

I know it adds a lot of debug output, but as this only breaks down under heavy load it's very hard to debug otherwise.