Added command line to runtime exception triggered when render fails.
Added and tested support for header and footer rendering. Added a global error handler to render.js.