public void keyReleased() {
	  	if (key == 'e') {
	    	//println("called");
			drawMode=false;
			editMode=true;
	  	}
	  	if (key == 'd') {
			drawMode=true;
			editMode=false;
	  	}
	  	if (key == 'c') {
	    	showCorners=!showCorners;
	  	}
		if (key == 'n' && editMode && showCorners) {
			showCorner = model.corners.get(showCorner).n;
		}
		if (key == 's' && editMode && showCorners) {
			showCorner = model.corners.get(showCorner).s;
		}


	}