Error recover

Add attempts to recover from an error
Logging

Added logging to stderr
Tested OK
Bumped status line to 3 lines

Signed-off-by: Bill Waggoner <ctgreybeard@gmail.com>
Logging

Logging working well.
Some minor cleanup.

Signed-off-by: Bill Waggoner <ctgreybeard@gmail.com>