The Effective Potential in Kohn-Sham Theory