Tiff: Check that required fields are actually present. Provide default values for some of them
Fix memory leak in transparent overlay