Tried using Xlib... Not going very well. It's supposed to be creating a window at this point but does not. Might try to use an alternative to Imlib2.