Memory leak fixes around cursor streams, added destroy calls.
0.3.5