minor log tweaks
add guard to protect from a sensor scattering empty output
add Average()