Thought I had it fixed.

Checked the vacuum plugs and they all look good. Checked the battery connections, and the positive was very loose. Tightened it and the bike ran like new again. For about a mile only. Then back to the same running issues.

Battery connections are still tight. Now what??? More ideas greatly appreciated. Team Triumph said maybe bad gas??? Also the battery cables and vacuum ports. So I'm going to drain it, and try new stuff, just in case.