Text is added twice

in the kill screen, there is a textbox. when you click on it you can type, but the letters you type show up twice. how do i fix this?

in void keyTyped() you have

		else if (k >= ' ') tbox.txt += str(k);
		tbox.txt += str(k);

you could add an else and fix it i believe but i only had a quick glance

		else if (k >= ' ') tbox.txt += str(k);
		else tbox.txt += str(k);