Initial conversion to LibTessDotNet.