Updated GUI with a text input box and a tree panel