change tunnel maze generation, move edge detection to after tunnel generation, prepare for connecting regions