added avg bars to annual chart
added additional checking to counter transmission errors
Added cleanup of unused sensorid's