Preparations were made for thread safety. A major new page layout analysis module was added. HOCR output was added. Many more languages were added. Most of the function header comments were documented with doxygen. Leptonica was added for main image I/O and handling.