Brightness control initial support.
Some optimizations.