Added PTH feature to VRML export and fixed potential GLU tesselator segfaults