Broke the virtual method Init() in CAppBase into PreInit and PostInit. PreInit is called before instantiation of the engine objects, and PostInit is called after. This gives CApp a chance to set parameters for those instantiations, then do any initialization that relies on those objects.