dont use SaveToPngThread.
restore import pycuda.autoinit
get the proper returns from callCuda in comparison.
block/thread changed to ints from 3-tuples (the latter is not handled properly)
Merge branch 'opt_testing'
minor changes to add in to joseph's merge