Saving the header with the font data.

Some cleanup still needed.