Added in: config setting for headless mode; use of thread pools