This is amazing. I can see a lot of potential for interesting puzzles.
I did find a bug where if you undo when "wall is wall" (for example), all the walls disappear until you hit restart.