made npts calc more uniform
many more improvements to lib.io.xrm_mapfile