Threaded print preview better (a bit unstable though)

Fixed bug with not erasing previous grade when grading in queues
Fixed selected student printing not showing a preview