Cleaned up a little and extracted BIG main program reporting method.