Handle closing stream
Minor fixes
Fix ordering
debugging
Filters are misfiring
Argh.
My bad
Typo
Amusing bug, maybe fixed.
That should fix it