Fixed ShowEdgeLines code so that edge lines could be turned off.