Polytool update fixed
Refactor par1 variable name
Cleaned up and optimized code
...but now only the first stack is updating the GUI.