Added corrupted chunk protection.

 - Adds a warning if more than a configurable amount of entities exist in a chunk.
 - Warn and reset corrupted chunk data.