misc clean up
Change most references of ScRootScript to ScBlockScript.
comment
enabled warnings for unused parameters.
Updated ajax whenDone pattern.
notes