Fix some memory leaks
In the singled threaded case don't start the hasher thread
Removes the DEDICATED HASHER option, since this is always automatically inferred from the settings.
Remove sliding window option, this was very complicated to ensure thread safety. For now its best left out.
Merge branch 'TidyConfiguration' into develop
Adds more tests
* Test hashing function is used
* Test single threaded path works
* Stress test with 100 threads
* Test hash+singlethreaded works

Additionally fixes some bugs/compile warnings and removes some verbose debug printing