Settings overhaul to allow for detection of error when trying to create settings file.