Removed debugging code.

	Removed anything that wasnt nessisary. This should make it
	easier to understand and look at for anyone trying to
	decipher it.