implement GET, GETC utils
group_counts: minor fix
clean up line-end whitespace
take: doc line
fix bug in collapse
implement varnames utility