Forgot to pass the input events to the GUI. Fixed.
No more unnecessary typedeffing of structs. Typos fixed.