 }
 
 
-MovePrgToMonitor(targMonitorNum, PrgPIDtmp, PrgBordlessLnchPrgIndex, lnchPrgIndex, borderToggle, targHWnd := 0)
+MovePrgToMonitor(targMonitorNum, PrgPIDtmp, lnchPrgIndex, borderToggle, targHWnd := 0)
 {
 isTESConstructionSet := 0
 cursorPosX := 0, cursorPosY := 0
-hWndArray := [], hWndArrayPID := []
-outStr := ""
+firstPIDIndex := 0
+hWndArray := [], hWndArrayPID := [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+outStr := "", outStr1 := ""
 
 DetectHiddenWindows, On
 

		if (!presetNoTest && temp == "&Test Run Prg")
		{
		lnchStat := -1
		targMonitorNum := PrgMonToRn[lnchPrgIndex]
		}
		else
		lnchStat := 1

	PrgStyleTmp := S & WindowStyle
	PrgLnchOpt.SetPrgWindowStyles(lnchPrgIndex, hWndIndex, PrgStyleTmp)

		if (PrgLnchOpt.GetPrgBordless(lnchPrgIndex))
		{
		; Extended Borders

		WindowStyle := WS_EX_WINDOWEDGE
			if (S & WindowStyle)
			{
			WindowStyle := WindowStyle | WS_EX_STATICEDGE
