void stopAndClear()
 {
     if (downloader != null)
     {
         downloader.CancelDownload();
         downloader = null;
     }
     coversPanel.Controls.Clear();
     screensPanel.Controls.Clear();
     foreach (Image image in currentImages)
     {
         try { image.Dispose(); }
         catch { }
     }
     currentImages.Clear();
 }
 void initDownloader()
 {
     if (downloader == null)
     {
         downloader = new EmulatorImageDownloader(platformImporter);
         downloader.SearchCompleted += downloader_SearchCompleted;
         downloader.PrimaryImageDownloaded += downloader_PrimaryImageDownloaded;
         downloader.SecondaryImageDownloaded += downloader_SecondaryImageDownloaded;
         downloader.ImageDownloadCompleted += downloader_ImageDownloadCompleted;
     }
 }