IMBuf is initialized after argument parsing, so that it will honor the number of threads passed by the user. Previously this value was ignored.
When one thread is requested, threads are disabled in the library, so that libraries compiled with threading disabled may be used.
This makes it much easier to debug issues which occur during openexr image processing, as when threading is disabled the complete call stack is available.