Added PrintQueue extension method.