The results of debugging and troubleshooting this into submission.  It is now functional.