modularize the CUDA kernels
remove parallelization of CPU hashing by default
try to fix occasionally hanging stratum protocol