fix odd bug in counts names; use STRING_PTR in melt_dataframe.c; other small things