Still fiddling with multithreading.  Commented out - compiles but crashes NaCl when run