Make the session manager a bit more threadsafe. Pass all chunk items back on the main thread
Make the metadata readonly. Add some comments