Attempting to better handle NPE errors for entity change block events on modded servers. Certain mod entities like Hydra throw errors.
Corrected minimum insert-per-batch logic, also removed hard-coded max of 5k. bug 601:resolved