getId(), connectClicked() implemented plus some other minor changes