brightness formula fix + some usability improvements