Deal with minimum brightness in a more accurate way
Fix race conditions with parameters and config dialog (dirty flag, parameter value)