[tor-commits] [gettor/master] Fix issues introduced with refactoring and clean up code