Correct possible not-set error in index thread and fix missing paper size on the print button.