Updated tree routines.  These  now return a status code like the VMS
routines.
Some small corrections.
Missed a header file.