not sure how to fix that, but if you start the batch render from inside maya, the error messages do not appear. maybe that is only an issue with 4.5 - i do not know if the mr in 5.0 allows rendering w/o having maya open. but then if you start it within maya, you cannot use your script.