Issue #2856911 by mondrake: Add a throbber while executing commands, and prevent reentrance during execution