Converting from a global var to a singleton
<p>I have a program has a global class instance that I want to convert into a singleton.  Can someone give me a quick example on how this should be best done?</p>

<p>Thanks</p>
