GUI functional and loading from txt