added open/close debugging info
WIP: wrapping streams to make sure CloseStream gets called
WIP: now it's segfaulting. This is progress
WIP: still segfaulting...
better handling of pa-close-stream