I may be wrong but I think the bug is caused by a ghost killing pac-man before the player has fully regenerated, overall great submission though!
Well, that's something I can look at. Thanks a lot.
Managed to take a look at the code. Yes, this was it. One again, thanks a bunch!