act on Helen's suggestions, clarify titles, handle end-of-files