refined some gui bits