Track number of times chains and likelihoods are used
Sort chains from history by usage frequency
Sort likelihoods from history by usage frequency

Also fixed a bug in the selection of a chain from a menu of previous
chains sorted by usage.