fix for generals, essence

fixed generals page, added a limit to how much essence will be traded at
any time.
some additional changes

Some changes from vitae
Merge pull request #160 from yinzanat/master

fix for generals, essence