Changed the way errors are rendered.
Changed a few error reporting things.