fix crash on flashinging lights with livingwhite bulbs and minor changes on last merge for controlling dim/undim times from the settings panel