Clean whitespace from ends of sentences.
Add new REPL utils package.