[Olena-patches] last-svn-commit-438-g6626ff4 Cleanup and improve text recognition.