hopefully the last round of changes for choosing the correct node when the managed node has only the manager as a friend. also updates for the promotion process