Fixes some null errors
Added the main UI for changing the settings. it doesnt save or anything yet