got the GUI finally working