fixed some issues calling init twice. Added functions for drawing and hiding edges