Add a user command to change left-/right-handed
Replace "variant" with "permutation"
Format comments
Simplify layout and permutation keeping