Do not use sys.stderr for logging
Merge branch 'no-sys.stderr' into develop