Trading

Fixed a lot of stuff that didnt work...Sell function doesnt work, can be
spammed with zeros, etc. This still needs some time.