split up maps.c some.
move printing shm ptr to shm.c