Fixed bug in SecurePrint. Also prevent dup frags