Get isTTF from the header.

Other minor fixes.