With your mention about the ground, I might suspect the CDI. Or maybe you have a poor ground connection in general, causing the rough running.
The running away thing doesn't add up tho. Perhaps you have two separate issues. That could be a in a few places, intake, carb bodies, etc.