Fixed a problem recognizing an empty header string
Uses real numbers for progress