This was fun and unique! The box and key swap didn't make much sense to me, but otherwise I had a blast!
I wonder if you could improve performance by building levels without making each square of floor/wall a separate object. That way there are less objects the computer has to worry about. That's just speculation though, I don't know how you designed the game. Good stuff!