Committing some ledGraph and fuelGauge fixes, as well as a GPS rewrite.

GPS rewrite still in progress and rather ugly.