Upgraded project to Visual Studio 2012
Make OrderedTree thread safe