private void DownloadScripts(Action callback)
{
// Setup initial conditions.
if (!HasScriptUrls) callback();
// Prepare the loader.
ScriptLoader loader = CreateScriptLoader();
// Load the script(s).
loader.LoadComplete += delegate { callback(); };
loader.Start();
}