Changes to Preferences Menu

Adds the baseline for theme support; Shortened the code slightly.