NPC speech library fixes