Fixed some spelling issues, now writeInGUI should work.