Improvements to JavaScript API functions:
 - exec() now saves variables in ActionScript instead of JavaScript.
 - request() no longer fails if the object was not dynamically created
but is the correct type.