Ha, that old thread had it all......except a solution. And, it reminds me of how quickly and easily time just slips away. I had fully intended to get to the bottom of the neutral safety switch question and POOF...4 years later and NUTHIN'!
Anyway, back to your problem.
Have you tried just connecting the two wires for the safety switch together and eliminating the switch altogether? If it still runs poorly after doing that, at least you know you've isolated the problem to the ignition system itself.
I just hope it's not a bad CDI...they are no longer available.
BUT, there was just a case here that turned out to be the connector pins for the CDI were worn and making poor contact. The guy found it by pushing and pulling and wiggling the connector. He fashioned some rubber inserts to wedge in the connector sockets to take the "slop" out and get a nice. tight fit. IT WORKED!
You may find your problem is a similar one. These engines vibrate quite a bit and 30 or 40 years of that takes a toll. You're at place where it's frustrating but you should go connection by connection, ESPECIALLY grounds, and clean them and tighten them up.
I hope you find it.