lookAhead: reset error messages on success

This addresses #6.