added some gui helper classes