Added code to shut-off output when battery voltage below threshold. Need to adjust PI parameters for faster transition and less overshoot.