Added version from scriptographer.org
Now using degrees
Settings are no longer lost when canceling
No longer relying on radians