GUI while opening FileDialog now remembers last path used

It was a bit frustrating to start in the same cppcheck directory every time any file/directory selection dialog was opened. Now the last visited path is used to initialize the window. Exception is editor application selection windo which probably should not be connected with the source code paths.