Merging/statistics: fundamentally flawed
The default option offered by the GUI is to merge a collection of found peaks (peaks found from image analysis) with a collection of predicted peaks (peaks determined from the unit cell). All though this can be useful, it is not generally what the user will want to do, and should be at most a background feature.
The user will want to compute the r-factors from the predicted peaks only (i.e. find peaks from image analysis, predict peaks using unit cell, refine unit cell and instrument states such that the image and predicted peak centers are coincident, then compute the r-factors).