Improvements on updating connections on main window.