Implemented window_resize_gui.