some gui improvments