minor refinements to plot.htest