Fixed some typos and more references to time.