Cleanup XLIB