minor improvements to xrfdisplay