Map3d submap refactor

I had some strange problems with crashes when jumping into craters, but I think it was a compilation error, because recompiling fixed it. Nevertheless, would be nice if someone else could test whether craters work for them.