housekeeping

added/edited comments, deleted old code that had only been commented out