fixed bug in npc load function; test commerce routine
rudimentary commerce routine seems to work