mega comment for g_ object
lots of cleanup, comments, and baby edits