gui: Move some variables into struct status_task.