Gui

All the GUI functions and some guided.py changes.