Is your spark plug black?
I had a similar issue, where the bike wasn't starting reliably, choppy idle and would usually die after giving it throttle a couple times. Once the spark plug fouled (black) the bike started backfiring.
Main problem was the pilot jet, which wasn't screwed in properly...