Extend logic of simple control to allow for alternative reading of battery load from TDF file. Work in progress, logic not correct, yet.

Compile and run on OS X O.K.