Handle empty queues more gracefully.
Fix layout issues for empty queues.