Code cleanup, badge setting, and more

added option to disable badge
changed hues to be stored as values 0-360, fixing a bug preventing the
logo colorization from functioning
fixed a typo in the logo rendering code for retina
cleaned up password settings panel
removed logging code and old commented code