lots of tidying up html for consistency. added agency stuff into the info panels