changes to odocorrection, lightsensorpoller and lightsensorcontroller