It may also be something as easy as a loose ground wire. From your battery, trace the ground cable to the right side of the frame, and insure it's fully connected and clean. Corrosion will effect everything you've described, and nothing is excluded from needing maintenance (connectors, clutch safety switch, switches, fuse panel, etc).
One other thing: your bike may have a side stand safety switch installed. These are notorious for "grounding out" and killing the bike, or preventing starting to.