Minor fixes to power averaging behaviour: fixed division by zero in pwrAvg and made program skip averaging if power is 0W (otherwise it starts averaging as soon as you switch profiles)