Take an error callback in treebankPersister
Start error handling in saver & temporary HACK

Check the comment for the error function.