Moved encryption to a background thread

Using the .net 4.5 async/await keywords. Two events, one for updating
the progress bar, and another for completion. During execution the UI
buttons are disabled.