Modified WARN and ERROR functions to print to stderr, so that they can be easily redirected independently of INFO messages