changes to Script window and scrip processor

only the ref of the ScriptWindow VI is passed to the processor instead
of refs of the individual controls