Reorder BufferRecord structure.
Rename InfiniteLoop to ProcessingLoop.