Updated circular buffer, added message generation