Added Settings defaults and exception handler to use default values if needed