fixup small display bug, as well as a larger incorrect neighbour updating bug.
fixup small display bug, as well as a larger incorrect neighbour updating bug.

scttl/marks_based_ocr,scttl/marks_based_ocr,scttl/marks_based_ocr