Added better logging for settings loader to make clear if index is out of range.