Basic filtering with switches

Still to do:
- 4x M buffers