gui: Refactored path_window

...1