Lots more script interfaces; Various improvements and bug fixes.
When editing the name of a global layer it adds an extra global each edit.
Normally we prefer if people report any issue to our tracker, but this one was easy enough to fix it right away for the next beta.