Use CFileDialog::GetPathName() instead of CFileDialog::GetFileName() for opening of files
Fix possible crash when chart2d and/or chart3d DLL are absent