Electromagnetic splittings and light quark masses in lattice QCD.