Some optimization of the percentage calculation function.
Project now using flash (PROGMEM) for a lot of data dropping a LOT of RAM usage.