Nat's suggested improvement to LLThreadSafeQueue that takes account of queue being empty as well as the status flag condition