un-glibified.  so that if anyone wanted to statically link the libraries,
there'd be no gpl concerns.  glib is now not a dependency.

swapped out the hashtable for a red-black tree.  other than that, everything
should be mostly the same with white-room reimplementations of glib functions.