pytgl: Various typo and thinko fixes.