added -ldl
added xcb_create_window XCreateWindow wrappers
re added Xlib Event code
added xcb_wait_for_event wrapper