Initial port of BSP monitoring code. Added libxml2 dependency to q2wmap and ported inout.c to a minimal and significantly less ugly incarnation of itself.