Added text2ps() function.
Tweaked.
Now prints all output to a log, which is then converted to a PS file if interact=False.
Made changes to allow functions to append commands to commands.csh, and to output plots.