Remove debug cruft
Add brightness correction