added the fixes from master branch to the full DTSD
removed some old functions and the bounty system