ignore tags
Allow ^D (EOF) to terminate the session.
minor cleanup