Updates GUI. Added null checks when trying to remove hosts from GUI.