main_encrypt_pipe(), main_decrypt_pipe(): update progress max 25 times per second