[tor-commits] [arm/master] Finish moving subtasks out of main()