handle metadata.  closes #69
also print out stats for total duration of data collection