Enter name gui done and error handling improved