Implemented $TREN handling. Implemented -I include processing. Added command line and environment diagnostic output to DumpState().