Removed non-PROCESSING_THREAD code