Built out more of the settings pages.  Made queries prettier, i.e. ordering and joining for var retrieval.