Implemented xlib lock.
Changed lock_c's display param to ref to ptr, added note explaining.
Changed some naming in xlib, added invalid window const.
Implemented xlib connection.
Renamed xlib-atoms to xlib-atom-map, resorted modules in video.mk.