Fixed updated player race

Also update the NPCLib to a new library.