Semi-working implementation of X11 client.
Fix error handling on failed shader compilation.