I have run your code 4 times and its not skipped any lines, however there is something weird about your xml and I have not been able to find what it is so far.
What I am seeing is a delay between the G1 move in the Z ending and the G3 starting. I also seem to see a problem when jogging the X axis, it will jog and stop and then requires a further press to get it moving properly. Do you see that?
Might be worth your while making up a new xml and seeing how that goes.
Hood
Hi Hood
Sorry about the slow response but I have been in my sick bed all weekend

so I am behind with my work. I should be able to have a closer look tomorrow but I do see the double press when jogging; I am using a wireless keyboard so I just put it down to a lost signal
How would I make up a new xml file?
Brian