Make GUI as a window