some gui cleanup