twisting the throttle 3 times "resets" the Throttle position sensor. It basically gives the "brain" the parameters it needs for closed throttle and wide open so it "knows" where the throttle is in order to start/idle/run. I do it with the key on, twist to wide open three times, key off. key back on and push in starter button, release starter button when running. Resetting the TPS is a good idea after long periods of non-riding.
All good advice above. These bikes like nice strong batteries. The moment the battery starts to go- all kind of weird stuff starts happening. If the new battery dosent fix your prob, try cleaning the idle control valve.