Changed the trace interface.
SImplified the error interface.
Changed the error routine implementation.