Very impressive, though a risky solution. I planned to release such scripts for harbours, but only after adding "add_new_waypoint" command to scripts.
How did you work around the problem of not applying _new_course (and other) commands when in high TC? Did you test them for TC > 32? (curious, as I didn't find a solution for this yet).
Inspirational idea, thanks.