Minor changes in print queue; Refactored queue worker code