Minor bugfixes.
Switched to multiprocessing threadpool, updated validation.