Change deque implementation to standard Queue because polling loops make me sad, even in demo code.