Hi Dave,
I just now pushed the code out to the master branch on the hexapod, gamepad, and scratch extension. It is the same as what was flashed on the kits, except for comments in the code differ here and there.
Regarding your issue with the distance sensor, it turns out the online wiring guide was incorrect and was for an older version of the project. The TRIG line is actually D7 and ECHO is D8.
Sorry about that! Please rewire. I tested it just now and it works for me in windows scratchx.