private Task<LoadImageResults> LoadImage_Execute(TargetImage targetImage)
        {
            var busyPickingFile = MainResources.Busy_PickingFile;
            var busyOpeningImage = MainResources.Busy_OpeningImage;
            var task = new Task<LoadImageResults>(() =>
            {
                BusyText = busyPickingFile;
                var opfl = new OpenFileDialog
                {
                    Filter = "Image Files|*.jpg;*.jpeg;*.png;*.bmp",
                    Multiselect = false
                };
                var dlg = opfl.ShowDialog();
                LoadImageResults results = new LoadImageResults
                {
                    Loaded = false,
                    Target = targetImage
                };
                if (!dlg.HasValue || dlg.Value)
                {
                    BusyText = busyOpeningImage;
                    try
                    {
                        using (var fs = File.OpenRead(opfl.FileName))
                        {
                            BitmapImage bmp = new BitmapImage();
                            bmp.BeginInit();
                            bmp.StreamSource = fs;
                            bmp.CacheOption = BitmapCacheOption.OnLoad;
                            bmp.EndInit();
                            bmp.Freeze();

                            BitmapSource bmpSrc;

                            switch (targetImage)
                            {
                                case TargetImage.Bottom:
                                case TargetImage.Top:
                                case TargetImage.FileLarge:
                                case TargetImage.FileSmall:
                                case TargetImage.FolderOpen:
                                case TargetImage.FolderClosed:
                                case TargetImage.TopAlt:
                                    bmpSrc = bmp.CreateResizedNextPot();
                                    bmpSrc.Freeze();
                                    break;
                                case TargetImage.SmallIcon:
                                case TargetImage.LargeIcon:
                                default:
                                    bmpSrc = bmp;
                                    break;
                            }

                            results.Loaded = true;
                            results.Image = bmpSrc;
                        }
                    }
                    catch
                    {
                        // ignored
                    }
                }
                return results;
            });
            task.Start();
            return task;
        }