Addition of tee filter
Core changes to support tee filter.
Cleanup up branch session on close.