Sir, I do feel for you. I too have fond affection for the life in my tanks.
If I may ask a question so I can learn from this? I have an MP10, so the openings are not as big as a '40, but still, I hesitate to add a nem. My MP10 came with a foam ring. I never used it until my Foxface got stuck to the side, twice in 3 days for a few hours. She's fine now, and it was a few months back, so no harm done. Since then, I put the foam on. It's a pain to clean regularly, but could this have prevented your disaster?
I'm truly not attempting to rub in any kind of snarky comment. And since I don't own a 40, perhaps my question is naive. For my own tank, I just don't want to risk dropping a toxic bag of death into a VitaMix. But I'm seriously loving a Sunburst right now and very tempted.