Use initial selection, not script file as root resource.
Added CdTokenHandler extension point to remove Shell dependency on Projects addon.