Added some gui utilities