IRIS_GUI_01 cleaninig code
circular buffer: fixing bug with an overflow