treebank data is being loaded correctly now in typediff interface

added better error handling to type-stats

other fixes