Added check for unrendered headers. Properly skipping check in Thunderbird if option is turned off.