Do not hide patch settings when browsing for a file.
Change UI resource files to use relative paths.
Comments and cleanups for the main window.