China’s imminent Politburo change and a vast new venue were just two of the challenges facing the organisers