improvements to ranked relevance, add a switch box to concordance and kwic results to switch from one to the other