Added some cursor and pixmaps functions for X11
Minor cleanup