Removed settings_errors() function, which was causing duplicate errors.
Deleted old file, fixed formatting.