segfault protections, and trying to make smaller maps more usable