Updates to error logging, new dates checker function, allow fields to be None.