It is very cool though still not very polished and has a few caveats (read the commented code).
I think I've solved some of the obvious and easiest problems.
Brown lines are projected strike lines. Magenta is the cross section line. The apparent dip in the red box has its information shown in the dialog.
adip is the calculated apparent dip. Dipdir, strike, and tdip (true dip) are copied from the original strike and dip and are really only useful for cross referencing or checking validity of the calculated apparent dip. xsec is the name of the cross section and xsecaz is the azimuth of the cross section approximately where the projected strike line crosses.