Added additional logs to thread constructors and fixed order state
printig bug.
Bug fix: order maybe null, so removed order output.
Added log when order is null; in the logs all these calls have an
invalid order.
Added more traces. Added synchronized to all methods. Able to retrive
instrument from context.