NPC destructor prevent memory leak
Need to merge with master thread

NPC clearing changed.