some changes for constants, some changes for debugging
add support of vertical text detection
fix problem with finding katakana shi and ni
finish up OCR for test image