Hey David,that definitely sounds like a bug that needs to be squashed 🐛The code is a bit of a mess, but I'll try to look into it over the weekend and fix it. Thank you for playing tho, I'm glad you enjoyed it!
I replayed it later that same day and finally beat it! I can now confirm I was getting the final screen way too early, whenever I got killed by the last 3 enemies (not the first 3, those I always managed to kill). Had a blast.