Commit 833e020dfd3aee579da4e0015ea3fa5a319477ff

Con Kolivas 2011-09-15T10:33:23

Standardise the way all non-mining threads are destroyed to make sure we can safely cancel them, freeing ram and NULLifying pointers.