passing in custom content path as command line argument
updated the error types
updated the JS rendering functions so that they can deal with proper contexts
fixed up the rendering so that it shows complete contexts