def kill(self):
     #TODO: need to do some cleanup here
     ThreadTracker.set_current(self.window_id, None)