fix mappath, make it configurable for #loadmap and #savemap