Mountain Trader:
I know it's a bit of a spectacle to see an engine backfire, but it's doing exactly what it was designed to do, and tested for thousands of times. The bird body passing through the engine interrupts things in the combustion chamber and some fuel is unburned, but then ignites in the hot exhaust as it comes out. What you see is just what is happening all the time inside the engine. And the grinding sound is what you would expect from a bird body being pulverised in a moment.
Don't worry, the flames just follow the normal exhaust path. They will not set fire to the tail or anything.
Very often the engine is shut down as a precaution, he crew knowing they can climb out and return straightforwardly on the other one. If they really needed to they could attempt to restart the engine, and it normally will start up again.
Rather than getting off and taking the bus, I would have complimented the flight crew on their professionalism and very happily ridden on with them on their replacement aircraft.