mapdump is a console program