@Override
	public void run()
	{
		JLabel lab =  MyFrame.instance.screen.getStatusLabel();
		lab.setForeground(Color.green);
		FuzzTest.parent = this;
		long timeStarted = System.currentTimeMillis();
		for(int i = 0 ; i < maxExecutions && canRun ; i++)
		{
			if(FuzzTest.running < this.maxThreads)
			{
				new FuzzTest(i+1, descFile.getInjection()).start();
			}
			else
				i--;
			try
			{
				Thread.sleep(100);
			}
			catch (InterruptedException e1)
			{
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}
			lab.setText("Running, " + FuzzTest.running + " threads");	
		}
		while(FuzzTest.running > 0)
			try
			{
				Thread.sleep(100);
			}
			catch (InterruptedException e)
			{
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		String s;
		if(this.canRun)
		{
			s = "Finished";
			this.finished = true;
		}
		else
			s = "Stopped";
		this.log(s + " after " + (System.currentTimeMillis()-timeStarted)/1000 + " seconds.", Color.blue);
		MyFrame.instance.screen.getFuzzButton().setText("Fuzz!");
		MyFrame.instance.screen.getFuzzButton().setEnabled(true);
		lab.setForeground(Color.red);
		lab.setText(s);
	}