Added updates to gui.py, backend