Added Dir(), Cdir(), shell_msg() -- for error reporting and other communication. Changed default char *prog to 'pr7' for simplicity.