Added files for examples/debugging.
Cleanup some error messages.