fixed spinner logic to display during potentially-long operations