now builds an initialize function built from the target resource filename.

removed unnecessary recursive call to function "extractComments" (now just while loop in delegateTraversal.) Was causing stack overflow.
Merge remote-tracking branch 'origin/master'