More thin3d minor fixes