public void frameRateManager()
	{
		if( lastFPS <=System.currentTimeMillis() )
		{
			fps=""+frames;
			//System.out.println(fps);
			lastFPS = System.currentTimeMillis() + 1000;
			if(frames<80&&slp>0)
			{
				System.out.println("Low Frame Rate: "+fps);
				slp--;
			}
			else if(frames>110)
			{
				System.out.println("High Frame Rate: "+fps);
				slp++;
			}
			frames=0;
		}
	}