Moved some error messages from stdout to stderr.
Moved more error statements from stdout to stderr.
Fixed a memory initialization problem. There are still others.
Updating branch before merge.