Position auto

This has two patches, with the first patch being in the positionTypos branch of pull request #94 .
So only look at the second patch.