Fixed couple of bugs
Merge branch 'master' of https://github.com/sidsoft2014/SIDTraderLite.git