Inconsistent idling problem

Because you noted a gas smell, I'm going with float valves or excessive fuel pressure, or like said; junk in the gas getting stuck in the valves.