I have thought about that, and I have also changed some features and tested in order to make sure that the player cannot die after lighting the pumpkin, but there might still be some bugs, I will test again and fix soon.
Anyway, thanks for giving feedback!
(If you ask how to pass the "Thanks for playing" level, then... there no way to pass, but you can turn back, by clicking Esc. And yup, you can kill yourself on the ghost)