Compilation fix for MacOSX Yosemite
Changed the logic of CQTOpenGL::Init() and CQTOpenGL::Execute().

Now most of the initialization happens in Init(), while show() and
exec() are executed in Execute().

This change allows one to call CSimulator::Execute() multiple times
without messing up the OpenGL initialization.