Bugfix: only checked for newline, not end of file, in readline
Small tweak to read size according to benchmarks

Still up for better suggestions however..!
Merge remote-tracking branch 'upstream/master'