Issue #251 - fix comparison of type
Issue #258 - add validation to see if min/max are numbers
Issue #258 - add error message texts to locale