Draw lib

The start of a drawing library using Xlib. Includes a couple examples of use. Also included, some miscellaneous fixes.