Norseman:
As already noted, your problem appears to be too much powder in the pan. For reliable ignition in most 45-54 calibre flintlocks, you don't need to use more than 2-3 grains of powder....preferably Ffffg. How much is that? About the number of 4-F powder granules by volume, that will fill a .22 long rifle case. It will make a mound in the bottom of the pan, about the size of a large pea. A 22 magnum case is even better, averaging around 3 grains by volume. With a little practice, it is easy to guesstimate how much is needed, without resorting to a measure.
Every rifle is different, so experiment, adding a bit more powder each time, until you get reliable igniiton in your rifle. Perfect ignition is a bit of flash, not too much smoke, followed by a satisfying BOOM!
For larger bore flintlocks, ie: Brown Bess or similar muskets, more powder is needed. Generally, about 3-4 grains 4-F.
Hope this helps.
Alex M.