alot of X11 input stuff, and input changes in general