Fixed some errors with the settings file.