Updated everything to log to stderr rather than throw or assert.