def _processSourcesList(self):
        corename = tools.determineCoreName( FESettings.getSettings().getValue("ig_default_core"))
        locationDD = tools.determineAbsPath( FESettings.getSettings().getValue("ig_location_dd"))
        #print corename

        self._devicesDict = {}
        self._core  = self._initCore(corename, ddloc = locationDD)
        suggestions, devices = self._core.getPossibleSources()
        self._page1._cbSources.Clear()
        i = 0
        for sug in suggestions:
            self._page1._cbSources.Append(sug, None)
            self._devicesDict[sug] = devices[i]
            i += 1
    def _startImageProcessing(self):
        from imagegenerator import Runtime

        corename = tools.determineCoreName( FESettings.getSettings().getValue("ig_default_core"))
        location_dd = tools.determineAbsPath( FESettings.getSettings().getValue("ig_location_dd"))
        location_dest = tools.determineAbsPath( os.path.join(FESettings.getSettings().getValue("ig_output_dir"), FESettings.getSettings().getValue("ig_output_filename")))
        
        self._timeAllTogether = 0
        
        sourceTmp = self._page1._cbSources.GetValue()
##            sourceTmp = self._cbSources.GetStringSelection()
        if self._devicesDict.has_key(sourceTmp):
            source = self._devicesDict[sourceTmp]
        else:
            source = sourceTmp
        #location_dest = "d:\\temp\\dd.img"
        if os.path.exists(location_dest):
            print "Image file existing - I am overwriting."
            try:
                os.remove(location_dest)
            except OSError:
                # let's try again with root priv
                print "Seems to be root; try again with root priv"
                sudo = FESettings.getSettings().getValue('command_sudo')
                command = sudo + " rm " + location_dest
                ret = os.system(command)
                # FIX ME: if not working ...
        redirectBuffer = DEBUG_FILENAME
        settings = Runtime.Settings(path_dd = location_dd, source = source, 
                destination = location_dest, redirectOutput = redirectBuffer)
        #corename = tools.determineCoreName( getSettings("ig_default_core"))
        #print corename
        core = self._initCore(corename, settings)

        status = Runtime.Status()
        status.setStarted()
        sizeEstimation = core.getSizeEstimationForPartition(settings.getSource())
        if sizeEstimation:
            status.setEndFilesize(sizeEstimation)
        thread.start_new_thread(core.createImage,(status,))
        
        self._mytimer = wx.Timer(self, _TIMER_ID)
        self._mytimer.Start(1000, 0)
        wx.EVT_TIMER(self, _TIMER_ID, self._updateValuesImaging)
        self._status = status
        self._settings = settings