I'll agree with the tachometer indicating very erratically, that you have some sort of electrical problem .
No easy solution here, about all you can do, is take apart all of the electrical connections, check them for security, cleanliness (corrosion, etc.) .
The ignition control unit (ICU), it's located under the fuel tank and has a heat sink attached to it, should have a heat sink compound applied between the ICU and the heat sink, it's available from Radio Shack for $5 or so for a small tube .
Though I doubt it's your problem, if the ICU gets too hot, it can 'act up' and cause problems .
Again probably not the source of your problem, but if the ignition coil on your bike is a black and grey dual output type, it would be in your long term interest to replace it .
It's commonly referred to as the 'crack-o-matic' coil, the plastic case cracks at the ends, moisture gets inside and causes ignition problems, most commonly during damp conditions .