Added NOMINMAX before including Windows.h in thread.h -- finally found where this came from
Added ThreadPool with parallel loop functionality
Forgot loop sequentialization
Added ThreadPool to Android Makefile, hope this works
Fixed potential shutdown deadlock issue