Title bar is now updated with the connection status (partly for debugging purposes).