Added plumbing for telemetry + logging now goes to stdout, error messages are doubled to stderr