Got the backend (readerThread.py) to communicate with the gui (gui.py) when there is input and to update the GUI correctly