Introduced some error profiling.

Not yet fully implemented.  Also did some rebranding.