hack together X11 wrapper
working on X window wrapper