Flushes buffer when it reaches a max

- Hard set value of 10
Commit closer

- This commit is for auto-closing issues that were fixed by the previous
  commit.
  - Fixes #7
  - Fixes #6