That's a bug that I thought about after uploading. I hadn't checked it yet, but you found it, so I'd better fix it.
I only allow you to get one apple, but once you get rid of it (you can eat it), you can go back and get another one so as not to get into an unwinnable situation. Ditto for "meat". I shouldn't allow the latter.
I'll check the ENTER CAVE and darkness issues. I thought I'd fixed them. Are you using the latest version?
Thanks for the fedback.