Will I now have most my macro working. it just errors on the last sub

Travels up the lift OK, but them I get the message

But if I manually run the sub, it works as expected.
Here is my code, as this is my first mac, happy for any critique, as I am sure it is brutal and non-elegant:
Sub Main
/call GetTask
/Call LiftDown
/Call ToMoors
/call WanderLust1
/Call LiftUp
/Call EndTask
/Return
sub LiftDown
/nav door id 11 click
/delay 100 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 180
}
/moveto loc -1308.44 -1542.75
/Delay 15
/doortarget
/click left door
/delay 120
/moveto loc -1302 -1569
/Delay 20
/return
sub LiftUp
/Nav loc -1307.78 -1590.68 -90.07
/delay 80 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 10
}
/moveto loc -1308.04 -1540.34 -89.50
/delay 80 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 10
}
/Delay 15
/doortarget
/click left door
/delay 120
/moveto loc -1308 -1508
/return
Sub GetTask
/Nav Spawn Master Vanguard Regan| dist=10
/delay 10 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 30
}
/Target "Master Vanguard Regan"
/Keypress HAIL
/delay 5
/say Wanderlust
/delay 5
/say join
/delay 5
/say Do This
/delay 5
/call AcceptTask
/return
Sub WanderLust1
/nav loc -116.02 569.13 19.80
/delay 10 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 10
}
/nav loc 1524.67 2940.49 203.68
/delay 10 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 10
}
/nav loc -1745.71 1112.67 -23.75
/delay 10 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 10
}
/Travelto Crescent
/delay 10 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 10
}
/return
Sub ToMoors
/travelto Moors
/delay 100 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 30
}
/return
Sub AcceptTask
/delay 5s ${Window[TaskSelectWnd].Open}
/notify TaskSelectWnd TSEL_AcceptButton leftmouseup
/delay 5s !${Window[TaskSelectWnd].Open}
/delay 5
/return
Sub EndTask
/Nav Spawn Master Vanguard Regan| dist=10
/delay 10 !${Me.Moving}
/while ( ${Navigation.Active} || ${Me.Moving} ) {
/delay 30
}
/Target "Master Vanguard Regan"
/Keypress HAIL
/return