Refining egl, x11 and various interactions.