Added dimmer slider.
Added image to application startup.
Other refactoring to reduce code clones.