Implement cell loading threshold

The cell loading threshold (default: vanilla-compatible 1024 units) prevents exterior cell loading until the player has travelled part-way into the next cell. This gets rid of excessive cell loadings when walking along an exterior cell border.