Add a template tag to handle field visibility

Also wires in plot and tree info