replaced all xlib drawing with cairo - merge your config