fixed some market bugs, added budgets and demand