Make empty slot detection more tolerant.
Don't write hack records if no reso state is known.
Add tesseract config file.