added some gui controls