Updated RingBuffer code
Fixed bug in renard_to_rfp_loop