Break loop early, cleanup declarations

...you're right about aliasing. That's why I tend to factor out pseudo-variables if I can.