Used PruneEmptyEntities() in UnLoadEntities(). Changed the intializing GameEntity's type.