worldgen: Add saving to and loading chunks from localStorage.
worldgen: Add chunk loading and unloading around the player.

The terrain data layers / indices are all fucked up atm.
(The y coordinate is the first one in some places and the last one in others)
worldgen: Fix the index mismatches. Add unloadWorld().