before I end up too much time on this, it would be nice for someone to review the code in this class ... just to be sure that I'm doing it right. I have also updated the real-time decoding example so that filtering is also in the pipeline.