Delegates struggled for hours on the opening day to agree an agenda and the mood has been soured by doubts about the United States' future role under a Donald Trump presidency, diplomatic spats