Added a manual ground truth collection function.

Added a manual ground truth collection function since the OCR version
doesn't work.  And small fixes to other files.