X11 library struct cleanup and comments.
Removed duplicate window position clearing.
Merge remote-tracking branch 'upstream/master'