Light sensor and cleanup