I'd have liked to have rewritten this class with more of the Settings API, but I didn't have time.