I have an 07 XMoto that used to have stalling issues. I now have 15000 miles with no problems. The triumph 12 minute tune up did the job for me. Let the bike idle until the fan turns on. If it stalls before it warms up, just restart it. Once the fan comes on, let it idle for 12 minutes without touching it. Shut it off and ride. Did the trick for me by relearning its closed loop fuel table...just like my mustang.
Have fun, it's a wickedly fun bike.