Better error reporting in pre elements

Also exposing dendrogram label parameter
Merge pull request #25 from tangelo-hub/better-errors

Better error reporting in pre elements