Add im.close(). Allow for different keywords for the mask (args.mask_key)
Allow for different keywords for the mask (args.mask_key)