Wall Street caps off tough week with a steep loss