[tor-commits] [tor/maint-0.3.0] In ntmain, call set_main_thread() before running the loop.