bugs fixed in TexGraphics