 ;fix the updown
 temp := batchPrgNo-1
 fTemp := 0
-fTemp := MakeLong(fTemp, temp)
-SendMessage, %UDM_SETRANGE%, , %fTemp%, , ahk_id %MovePrgHwnd%
+MakeLongVar := MakeLong(fTemp, temp)
+SendMessage, %UDM_SETRANGE%, , %MakeLongVar%, , ahk_id %MovePrgHwnd%
 
 Gosub FrontendInit
-presetNoTest := 1
+
+presetNoTest := 2
 
 PidMaster(PrgNo, currBatchNo, btchPrgPresetSel, PrgBatchIni%btchPrgPresetSel%, PrgListPID%btchPrgPresetSel%, ProgPIDMast)
+
+
+Thread, NoTimers, false
 
 
 if (currBatchNo) ; defpreset set

								{
								Loop, Parse, k, CSV, %A_Space%%A_Tab%
								{
								if (A_Index = 1)
								PrgLnchHide[recCount] := A_LoopField
								else
								{
								if (A_Index = 2)
								{
								PrgMonToRn[recCount] := A_LoopField
								}
								else
								{
								if (A_Index = 3)
								{
								PrgBordless[recCount] := A_LoopField
								}
								else
								{
								if (A_Index = 4)
								{
								PrgRnPriority[recCount] := A_LoopField
								}
								else
								{
								if (A_Index = 5)
								{
								PrgChgResonSwitch[recCount] := A_LoopField
								}

			sleep, 1000
			}
		GuiControl, PrgLnch:, RunBatchPrg, &Run Batch
		WinMover(PrgLnch.Hwnd(),"d r", PrgLnchOpt.Width() * 3/4, PrgLnchOpt.Height())
		Gui, PrgLnch: Show
		}
		else
		{
		; Test run complete here
		if PrgLnchHide[selPrgChoice]
		{
		WinMover(PrgLnch.Hwnd(),"d r", PrgLnchOpt.Width() * 3/4, PrgLnchOpt.Height())
		Gui, PrgLnch: Show
		}
		}
	SetTimer, WatchSwitchBack, Delete
	SetTimer, WatchSwitchOut, Delete
