Fixed key repeat issue on Linux. X11 defaults to sending KeyPress and KeyRelease (both) on auto repeat keys. Was messing terribly with the threading code...