 ;commit preset to file each click
 if (btchPrgPresetSel)
 {
-;For some  reason, variables and arrays do not  update without the sleep!
+;For some  reason, variables and arrays do not update without the sleep!
 sleep, 120
 	strTemp := "|"
 	Loop % currBatchNo

			GuiControl, PrgLnch:, DefPreset, 0

		strRetVal := PopBtchListBox(PrgChoiceNames, PrgNo, PrgMonToRn, PrgBdyBtchTog, PrgListIndex, batchPrgNo)
		sleep 100
		GuiControl, PrgLnch:, ListPrg, % strRetVal
		EnableBatchCtrls(PresetNameHwnd, btchPrgPresetSel, PresetNames)


	}
	else
	strRetVal := RegExReplace(strRetVal, "m) +$", " ") ;m multilineselect; " +" one or more spaces; $ only at EOL
	; also means names & pathnames with more than one space are affected as well

	DeleteIniFile(IniFile)
	FileAppend, %strRetVal%, %IniFile%
	sleep, 100
}
catch temp
{
if (temp)
MsgBox, 8208, IniSpaceCleaner, Error with Ini file! `nSpecifically: %temp%
