slr: more fixes to slr classes, null out streams on close