Thanks, that's very interesting. I found that the suggested "xset r off" worked well for me, by completely disabling the X autorepeat stuff, since there's already windows autorepeat. But it's good to get to the bottom of these subtle race-condition type bugs.
Lev