Democrats discuss platform, elect delegates