some settings cleaning and let TYP be configurable
Merge pull request #1 from andymckay/master

couple more settings and docs