Fixed some bugs, fixed concurrency issues, implemented unloading of Chunks, fixed memory leaks