@alan
The G18 (I don`t see any G19) is being generated because you have a Vertical Radius set in both your Lead-in and Lead-out, remove the Vertical Radius by setting it to 0 and the G18 will disappear.
Stay Safe !!
Regards
Rob