Mission: reduce unnecessary search for do-commands

do_cmd_all_done flag is set after all do-commands are complete