Adds a couple of useful options such as adjusting poll time with execute

Fixes some performance problems due to edge cases such as very long lines without a new line and adds a couple of new features, including buffering and iteration independent polling (as well as command line option).