Harmonize code

We effectively do the same thing 5 different places, so good if the code is identical (incase it needs to be revised).
Let transpose detect and swap words

The detection is done by a regexp match of ‘\w+\W+\w+’ allowing the string to optionally be wrapped in round, square, or squiggly parentheses.
Fix file browser menu item validation
Spelling suggestions can be chosen with 1-n