Added pairwise comaprison UI and saving.