Completed Print Queue and fixed some bugs