Corrected encoding of status send to GUI to formatted string