Fixed MSVC 64-bit build warnings.
Lighting thread disabled its chunkstays before deleting them.
World pre-generation distance is settable in world.ini.