John Magufuli elected; opposition faced increasing harassment and structural disadvantages.