Welcome to the forum
Check the cable connections to your battery. Make sure they're tight and clean.
The petc0ck has been known to give people trouble. When the bike starts acting weird turn the petc0ck to "Prime" and see if the problem vanishes. If it does, your petc0ck is bad.
The other thing that comes to mind is the gas cap vent. Since the gas had time to varnish, the vent might be plugged up. When it's acting weird, loosen or remove the cap and see if it alleviates the problem. If you hear a rush of air from a vacuum when you loosen the cap, it is stopped up.