adding the removal of stranded triangles,

 and fixing some discovered logic issues with the center triangle