fixed a huge bug where globals were leaked. I also made this load a default settings and then update only the settings that change.
added HD capabilities