 
 		if (!ErrorLevel)
 		{
-			if (txtPrgChoice == "Prg" . selPrgChoice)
+			if (txtPrgChoice == "" || txtPrgChoice == "Prg" . selPrgChoice)
 			SplitPath, strTemp, , , , txtPrgChoice
 		GoSub ProcessNewPrg
 		}

{
; returns 1 if testName is a spare, bad or default slot name

	If (Inibox)
	spr := IniBox
	else
	spr = Prg

	Loop % PrgNo
	{
	if (testName == spr . A_Index)
	return 1


borderToggle := DcmpExecutable(selPrgChoice, PrgChoicePaths, PrgLnkInf, PrgResolveShortcut, IniFileShortctSep, 1)

StoreFetchPrgRes(1, selPrgChoice, PrgLnkInf, targMonitorNum)
SetResDefaults(0, targMonitorNum, scrWidthDefArr, scrHeightDefArr, scrFreqDefArr, 1)

CheckModesFunc(defPrgStrng, PresetPropHwnd, targMonitorNum, iDevNumArray, ResIndexList, allModes)
