Mapgen work. Moved lights to world dict. LOS crashfix.