Minor clarifications.
Allow an explicit return statement at the end of the interpreted code.
Updated the set() function to use getProperty() and made a note of a minor shortcoming.
Removed the "flags" array, because it wasn't being used, and you could just as easily use #if.
Added an option to prevent the code from accessing unpermitted classes.