Fixed the server mem leak and chunk load issues.