public void cellDraw(int x, int y){
						if(!sedna.getSelected() ||sedna.getSelection(x,y)){
							if(cellfillflag){
								switch(cft){
									case 0: populate(x,y,1); break;
									case 1:  mainBrain.getCell(x, y).setOption(toolstring[3], opval[3]); break;
									case 2:  mainBrain.getCell(x, y).setParameter(toolstring[3], paramval[3]); break;
									default: populate(x,y,1); break;}
								}
							else{ switch(cdt){
									case 0: populate(x,y,1);break;
									case 1:  mainBrain.getCell(x, y).setOption(toolstring[2], opval[2]); break;
									case 2:  mainBrain.getCell(x, y).setParameter(toolstring[2], paramval[2]); break;
									default: populate(x,y,1); break;}
								}
									}}