improved handling and passing of xrm_mapfile from image to XRF Display