Minor code cleanup and improvements

1. improve trace logging messages
2. add and use StringUtilities::ToWString(long) in ExecuteAsyncScriptCommandHandler
3. make Script::ExecuteAsync more predictable at parallel execution