Minor fixes
@zalox merge this as well to your branch. Made the run path equal to the project path so that new C++ users can read and write files in the project path without adding a relative/absolute path. Also now safely clears the tree store when selection dialogs are hidden.