Prevent repeated flushing of final block and correction of a typo in README.md