change all remaining printf(…) to fprintf(stderr, …)