Fix bug causing cbuf to be recreated every interval
Fix decoder/filter gh review issues.