The reason I added it was more for me than anything, and to make sure that I had a pointer of global scope to call from CPlotPrefs() and CLapPainter.

I will remove it once (if?) I get things working.