I'm loading encrypted images in an imageviewer with the encryption library. However, it seems that all I/O is blocked during the decryption process, which makes my user interface stutter. Is there a possibility to "send" the info to decrypt to a certain thread, continue doing other things, and raise an event when the decryption is done?