Added Dim screen preferences

Issue #17 hasn't been updated since May so I went ahead and tackled it. I added both of the suggested options, first a checkbox to enable/disable the dim screen option entirely and secondly a slider preference to configure the level of screen dimming.