refine tool gui