Remove unused messagebox semaphore from thread structure.