Changed formatting to make emacs happy
Removed unused code
Set defaults in buildUi
Added comments
This function should be local
makeFullConfig should set the default settings
Fix the removal of tabs
Run makeFullConfig before building the UI
We don't need to set the defaults anymore