More error handling
Fixed path to template
Added breadcrumbs to categories and values.