The secret of the Local Gun Shop (LGS) is that the money is NOT made with the sales of the guns, but with the sales of the consumables that go with the guns, i.e. ammo, targets, cleaning agents, and lubricants/rust preventative.
Pyrodex was developed because shipping and storage regulations changed regarding black powder, and a lot of Mom & Pop black powder stores, or LGS that had a large black powder customer base, were harmed, because they could not store black powder as they had in the past. So black powder was de-engineered.
They took black powder, which was pretty much 70% Potassium Nitrate, 20% Sulfur, and 10% charcoal, give or take variations in formula. As such this was considered an "explosive" or the original "low explosive" (with Dynamite being the first "High Explosive") They then cut the Potassium Nitrate by about half, using Potassium Perchlorate, so that Pyrodex is roughly 35% Potassium Nitrate, 35% Potassium Perchlorate, 20% Sulfur, and 10% charcoal, give or take again, particular formulas. The Potassium Perchlorate (Material Safety Data Sheets won't give the exact formula, as those are trade secrets) was a change that was done to reduce the burning speed (called deflagration) of the black powder, so it was no longer classified as "explosive" and was reclassified under the name Pyrodex as a "flammable". VOILA, Mom & Pop could offer a propellant again to their black powder shooting customers.
It was and is not without some problems. It's just as corrosive as BP, because it really is a form of BP, and it's often tough to get to work in a flintlock.
But it did save a bunch of small businesses, and a lot of those were set up as "retirement jobs" as guys retired and made money off their hobby, to supplement their fixed pension incomes.
People may scoff, but perhaps show a little respect ?
LD