since it was a spark problem before, I would monitor spark when problem shows up to see if all 3 plugs are getting spark.
if not spark look else where.
if it is a spark problem, see what input and out put of CDI is doing.
by the way I do not see how loose plug boots would cause that kind of problem