Check the ignition coils, they are prone to splitting and breaking down causing unstable idle especially when warm or when riding in wet weather.
Have a look at the article on this problem on http://exactrep.com/acatalog/HT-Ignition-Coil---Replacement--128.html#SID=28