[tor-commits] [tor/master] Fix a variety of issues in 4773