Callback

Callback from sendStream and minor bug fixes