X11 library struct cleanup and comments.
Removed duplicate window position clearing.