Ooh, I wonder how the first bullet point came to be - must be a rogue gap in the logic.
Second bullet point - nice thought process there, but it always takes a leap :-)
AH! I left some test/debug code in that recreates the key after you use it....DUHHHHH
Ha ha, no worries. I have updated my game over 10 times with bug fixes. ^_^ My beta testers were invaluable.