Small tweaks to make it compile
Preliminary Xlib support

Output seems to work, need to wire in input and event loop