Hallo Frank,

first of all i'm sorry for this situation. Thanks for your offer to improve this post with your code, i accept it, you will receive my email in a private message.
About the red line, i simply used Plus version of Google Earth. It worth its price, you can see a Google Earth comparison chart here.

With Plus version you can draw and edit lines and polygons. Extruding polygons you can create 3D buildings. I tried this feature in this post about a wonderful town that i visited some year ago:

Shibam, Wadi Hadramaut, Yemen, overlay and 3D

Again thanks, and arrivederci.