Fixed lots of bugs.  Moved settings into a package so that other packages could depend on it and it was giving errors about not being loaded.