move gang printing into Result

Finally, move gang printing into Result. Change the _process_stats
input to accept the rest of the required information. Use the value
of the gang option and the exclude nulls option to determine printing
behavior at runtime instead  of using the `## begin skip gang list`,
etc. markers for eval code editing.

Update TODO.