fixed drawing to show correct location, refactored deleting nodes to run off same code