Master totals are now generated in PHP.  Disabled the Javascript totals.  Using new getStats().
Broke displayStats() into getStats() and displayStats().  Added printing of master totals to displayStats().  Array of stats is now much more memory efficient.