fixed grouping error messages
improved empty stream error message for min, max, avg
fixed stray newline