Minor updates: light and sensors threads