improved Xlib support for Self 2.0.1