improved some gui stuff