lots of multi-threaded orders processing stuff
Merge pull request #1 from nj4x/master

merge codes written by Roman of multi-thread orders processing