modified so that timer starts only after first character of a sentence has been typed