CodeCompletionManager instance is now allocated on the heap so we can have better control on its instantiation (i.e. it should be instantiated after the wxTheApp was created)