Added text adding gui and bugfixes