guarded against empty run name and no target selected in Run Control.