[tor-commits] [tor/master] better comments and mild refactoring