Field Grouping modeled as a gen_event handler.  Not 100% that's right, but its a starting point.
Fixed init for gen_event.