r1102
r1109
r1112
Change according to recent API changes
Load leptonica