Fixed some warnings
Fixed potential threading issue
Fixed issue where clients weren't sent chunks they needed