cleaned some comments, and removed some unnecessary code--glib takes care of NULLs nicely, i learned