Fix portal creation crash.
Force reset every time the map is exited so that loading does not bloat the submap list size.
Fix on-exit segfault from attempting to go through 'do_turn()'
Accept PRs #4377 and #4388