fix for adding messages to gui and setting labels to connect and disconnect
fix for connection label