Automatically clean the options database.

Instead of looping through the hardcoded options, we now loop through
the saved options. A saved option that has no hardcoded match is
removed. Also, variables are now only set when they're changed.