def METHOD_NAME(self):
    from PYME.Acquire import ExecTools
    self.panel.tickcount +=1
    for bg_task in ExecTools.bg_init_tasks:
        self.panel.messages[bg_task.name] = bg_task.get_status_msg()
    self.panel.Refresh()
    if self.parent.initDone:
        try:
            with self.scope.settingsDB as conn:
                conn.execute("INSERT INTO StartupTimes VALUES ('total', ?)", (time.time() - self.panel.startTime - 0.5, ))
        except:
            logger.exception('Error writing to settings database - perhaps this is read only')
        self.parent.time1.WantNotification.remove(self.METHOD_NAME)
        self.Destroy()