Revert "Remove loadChunks function. Causes serious issues with minecarts."

This reverts commit ed9ac5fab69001f94080ca254d5e97e6af5e4cc8.
Attempt to fix loadChunk behaviour.