Small changes to core script.  Updated YUI docs.