Added stoponfirst functionality to validator (will not continue generating errors after first failure).