refactor operation bookkeeping and gui progress indicators