I really tried to solve everything on my own but eventually I cheated :D If I knew what kind of a game it was, I might be able to find the secrets. Maybe you should add a little bit description in the game page.
I downloaded the source code and checked some stuff. Your code and scene are way more cleaner than mine. I liked the idea, the feeling of a repeating nightmare. It might turn into something good I think. Well done, had fun. :)