Corrected errors not being sent to stderr.