minor improvements to silhouette generation
fix connect edges code bug for onVert dependence