osd: some PrioritizedQueue cleanups; dump locking fix; debug pqueue state at high debug level