Break loop early, cleanup declarations

Considering it as an alias might be misleading in case the variable being aliased gets modified. Besides, the only case where I notice these "const" keywords for simple variables is when I tried (intentionally) to modify them. Have to recompile then to fix compilation.