Removed BlockWipedAllocator

The BlockWipedAllocator was never actually 'switched on' for any jobs and its design would not work in the threaded framework anyway. Thread-safety checks (static and runtime) were showing this class to be a problem so we removed it.

Also made the function local static in TkGluedMeasurementDet be thread_local to avoid threading problems.