Added manual memory management of integral engines in integral engine pool so that when the destructor for the object gets called the data at the engine gets deleted, the pointers will live until pthread_exit() gets called.