Main window: Pages: Use a condition to interrupt box loading instead of polling

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Main window: Show the text read by the OCR whenever the mouse cursor goes over them

Signed-off-by: Jerome Flesch <jflesch@gmail.com>