I have incorporated minLength support in the main code; grab it please from the first post.