Fix many formatting errors.