Applied code review feedback from Rene Zwanenburg; avoided GC alloc in tight reader loops, some syntactic sugar used.