Command line parsing and filter metadata output completed.
Code cleanup.  Fixed output to statistics file for custom filters.