Added 2 way error communication to GUI