Write grid files to a more relateable filename.
Fix special_sector being set to -1 instead of None.
Move some generation parameters into separate variables.