A quick update:

The exhaust is now sealed and repacked. With the race ECU code loaded, it runs a lot better. When it's cold, it runs the way I remember Buells running. However, when it's warm, it's still doing the stumbling thing occasionally, and it doesn't seem to be tied to any particular RPM. Could it be the engine temperature sensor cutting the spark to the rear cylinder?