rearrange config handling in TrMain, and fix dumb bug in TrUtils
Merge branch 'master' of github.com:sanity/tahrir