private void endText(String to) {
		if (to.equals("slide"))
			slide.addEntity(text);
		else if (to.equals("quizslide"))
			quizSlide.addEntity(text);
		else if (to.equals("scrollpane"))
			scrollPane.addEntity(text);
		else if (to.equals("feedback"))
			quizSlide.addFeedback(text);
	}