public void paintComponent(Graphics g)
	{
		gameScreen = (Graphics2D) g; //2D gfx
		gameScreen.clearRect(0, 0, frame.getWidth(), frame.getHeight()); //clear the entire previous frame
		if(stage == 0) //if in menu
		{
			if(buttonSelected == 0)
				gameScreen.drawString("Start", 0, 10); //this little button makes the game start
			if(buttonSelected == 1)
				gameScreen.drawString("Exit", 0, 10); //this little button quits
		}
		if(stage == 1) //if in testBetaLand
		{
			for(int i = 0; i < bgObjs.size(); i++) //draw bg first so everything else is on top
			{
				BGthings temp = bgObjs.get(i);
				if(!temp.markedForDeletion) //if not marked for removal
				{
					temp.drawSelf(gameScreen); //draw it
				}
			}
			gameScreen.drawImage(flan, flanx, flany, null); //flan is drawn
			for(int i = 0; i < explodableObjs.size(); i++) //for all of the explodables
			{
				Explodable temp = explodableObjs.get(i);
				if(!temp.markedForDeletion) //if not marked for removal
				{
					temp.drawSelf(gameScreen); //draw em
				}
			}
		}
		if(stage == 2){}
	}