Split stats update to allow web interface to construct a human readable set of stat values as well as maintaining the statistics file.
Make sure all relevant information is stored in the statistics file to survive a power cycle.
Stash wiring colour code table in case I loose it!