More work on screenshot analysis and OCR