Cleaned up how NPCs produce their goods. Added some logic for NPCs to estimate the price of resources
Added code for agents to respond to trades being accepted or rejected