Better error reporting in pre elements

Also exposing dendrogram label parameter