RecordLoop code was simplified.
The latency system works properly now.
Latency is now written to output file on program termination, so you don't lose last frames.
BufferRing::operator[int] and BufferRing::written(int) properly hanle positive arguments now.