Set LastFolderOpen to last valid value or home folder

Getting sane start folder by Save/Save As if m_LastFolderOpen is empty (last open folder is not valid anymore).