Added an render errors function.
Fixed typo error.