Improved code preformance with while loops and unpopulated global namespace in spinners.