Wall Street ends bumpy week, strong 1st half with modest gain