Complete the Text to Project tool

Complete the text to PJX file tool so that it generates a warning when
run from the Thor Tool Launcher or Thor Toolbar, and so that it will not
utterly fail under those circumstances.