This is awesome! The twists, the turns, the backtracks that function as an actual puzzle. I love it!
I'm having trouble getting the confusion ending to work, even with all the variables in place. I'm not sure if it's a glitch or not.