Moved function onLineAtLength() to section with onLineAtX() & onLineAtY().  Added temporary comments