Patches to ZIM 019

Just a reminder, we patch versions now... here are the patches to ZIM 019 - these can be seen in the UPDATES page - go to Docs then select Updates.

/*
Added a type property to TextureActives and added a mID declaration (thanks karel Rosseel for the note)
Fixed ZIM BorderShape to properly recognize circular borders 
when half the borderWidth was put outside the width and height it broke the circle check
Fixed ZIM Timeline - had broken monitor id and tether on interval
IMPROVEMENT Fixed ZIM transform() on mobile to dispatch a "transformed" event 
when press dragging on an object with its controls initially hidden - thanks Racheli Golan for the report
BREAK Fixed ZIM Flipper to properly work when starting Flipped - this has been an ongoing tricky one 
but we spent some time, making sure it is right.  If upgrading, check your Flippers.
Fixed ZIM Sprite() when using standard JSON format - it was going to XML Kenny version just implemented before patch.
Fixed ZIM Tile() setSpacing(h,v) to work with single numbers or arrays and fixed bug
Adjusted Tile() remake() so newSpacingH, newSpacingV work properly - we had left an old variable name in there giving an error.
Thanks Takemin for reporting both these issues.
Changed CamAsk() to let the default Pane backdropColor go through... so it can be styled
Adjusted ZIM loop() to let objects with type=="Container" and addChild null through if they are object literals
Thanks Racheli Golan for the report - their team was looping through data objects with type="Container" and it was skipping these
Had added prototype type for Circle to be ["circle"] like CreateJS does but it breaks Blob - thanks yanwenge for report - backed out of it
BREAK Changed scrollX() and scrollY() to browserScrollX() and browserScrollY() to avoid conflict with window properties - thanks Chris S 
Fixed ZIM Tile() to include a check for empty bounds if there is a count of 0 on the tile.  Thanks Yanwenge for the find.
Adjusted ZIM interval with immediate true to start interval object count at 0 - it was doing -1 after fix to handle ZIM VEE issue 
Had the wrong boolean expression in there... thanks Yanwenge for the report
Removed Ticker function for Carousel3D when disposing - thanks Yanwenge for the find.
Also tested if Ticker function id exists for all 80 Ticker.remove() commands
Fixed dispose of Frame to properly dispose leftEvent which were changed to pointer events.  
The dispose was still disposing mouse events - thanks Yanwenge for the report.
Fixed ZIM Physics noContact() typo in ZIM 019 and debug() issue in physics_2.3.js
Added newCols and newRows parameter to Tile remake() method and fixed bug since ZIM 018 with incorrect positioning
use this rather than setting cols and rows then calling remake() - thanks Petis Brandon for pointing out bug
Adjusted Button with custom Label to take color from custom Label, not default Button color 
This error was introduced in ZIM 019 when original color was moved to after style assignment - thanks Chris S for the report.
Adjusted Triangle() so if a and b are provided but not c then c is set to b and an isosceles triangle is made
like it said at top of Triangle docs. Thanks Chris S for the report.
Added ZIM directives and ZIM Monitor to Distill - thanks Chris S for the report.
DISTILL ES5/ES6 Issues
    Replaced a let in Blob.  
    Using .then() in SoundWave()
    Using ` in Glitch
    Using .await() in Rive
    Using .then() in PermissionsAsk()
Fixed ZIM Editor and Kids Slate to handle emojis - half of it was and half was not 
it turns out that the working side used ZIM Base which had $charset = (isset($charset)) ? $charset : "utf8mb4"; 
This is what made the emojis work - the older code was just the default utf8.
Fixed ZIM animate() series, was not setting loop and rewind to true within series animations if loopCount was set, etc.
loopCount, loopWait, rewindWait, etc. should automatically set loop or rewind to true like the main animations - thanks Yanwenge for the report.
Set of updates to ZIM Editor and Slate ASSETS HELP to introduce Zapp Directives - see below - thanks Karel Rosseel for the help.
Changed Docs for Carousel3D to a currentItem property (had selectedItem).
Added dropOriginal parameter to end of drag() to make items not dropped on a dropTarget 
go back to original location and scale rather than go back to last position - when dropBack is set to true
ZIM Kids now has a Zapp to components under the MID category - each of these link to the its cheat sheet
and a Cheat Sheet icon at top right.  Thanks Karel Rosseel for the ideas.
Updated ZIM List when droping into same list and dropCopy is set - was dropping one index back due to copy.  Fixed.
ZIM Editor and Slate now have Cheat Sheet Lists under DEMOS. 
For the ZIM Mobile tool, turned on ZipArchive in latest version of PHP so it properly zips files.
Fixed ZIM Socket signup - thanks Karel Rosseel for the notice.
BREAK ZIM Slider with vertical set started off with button at max but value was at min. 
Adjusted so value starts at max too - this was intended.  
Since it was set to max as soon as the slider changed, this is very unlikely to break apps.
We had not even noticed the issue over the life of the Slider.
ZIM SoundWave - added test to be able to apply a new SoundWave to an audio that has finished playing 
There is a glitch in the HTML 5 Audio where an audio that has finished cannot be disconnected to sources 
this was causing an error when the a new SoundWave was set on the same audio after it completed.
Thanks Vishwas Gagrani for the report.
BREAK The MotionController with a container provided now ignores pressing on objects outside the container unless in mousedown includes
This could break apps if a background image or shape were outside the container set for the MotionController 
or it can lead to an IMPROVEMENT if interface is outside the container as these were treated as active.
IMPROVEMENT fixed ZIM Emitter when paused or unpaused when browser tab is not in focus. 
The bug was causing the emitter to sometimes incorrectly stop or start when switching tabs.  Thanks Hadas for the report.
When tabs lose or gain focus we record the last setting of the emitter.  
But if the pauseEmitter is triggered when the tab is not in focus, it was remembering the wrong value.
We now set the recorded setting as well when we run pauseEmitter. 
Fixed ZIM Pane() titleBar and close button with corner as array - Panel and Window were already good.
IMPROVEMENT fixed multitouch issue - drag, scrambler, shuffler were using deprecated mouseupplus 
no longer needed as move to pointer events handles up on iframe or on console which previously caused problems.
Thanks Jesus Cital for the report.
IMPROVEMENT added beforeUpdate() and afterUpdate() methods for Scrambler 
These can be used if scaling or moving a Scrambler (no need for FIT or FILL scaling)
These will remove the drag before scaling or movind and add the drag again after scaling or moving 
The update() was not enough as it happened after the movement or scaling and object inside the scrambler 
were being repositioned due to the dragBoundary.  
Fixed SVGContainer and therefore SVG when using polygon - was passing strings as numbers 
and was missing interactive and showControls parameters - thanks Karel Rosseel for the report.
Added ZIM DUO to addPoints() for Blob and Squiggle
IMPROVEMENT adjusted the PermissionAsk() code to delay longer on Android before showing warning 
This was popping up on some mobile even though the sensor was then detected 100 ms was not long enough 
Also rewrote the docs for Tilt and PermissionAsk with more comments in examples, etc.  Thanks Karel Rosseel for the prompting.
IMPROVEMENT fixed PermissionAsk NO button to have centered text - needed to add labelWidth:100 to styling.
IMPROVEMENT added step property to Stepper to adjust the main step - consider this experimental, do a test.
IMPROVEMENT added a keychange event to Stepper that triggers on change by key.
the change event also triggers on key but the change event also triggers on drag
which when updating data might be a lot - so can now capture a pressup and keychange combination at a slower rate. 
*/