more pwm fixes
hack for missing ambient light and illumination sensing

autobrightness now works for the display and keypad backlights