--- a/PTCorrect/PTCorrect2003.vcproj
+++ b/PTCorrect/PTCorrect2003.vcproj
@@ -29,9 +29,9 @@
 				EnableFunctionLevelLinking="FALSE"
 				UsePrecompiledHeader="0"
 				PrecompiledHeaderFile="$(OutDir)\$(TargetName).pch"
-				AssemblerListingLocation=".\Release/"
-				ObjectFile=".\Release/"
-				ProgramDataBaseFileName=".\Release/"
+				AssemblerListingLocation=".\$(OutDir)/"
+				ObjectFile=".\$(OutDir)/"
+				ProgramDataBaseFileName=".\$(OutDir)/"
 				BrowseInformation="0"
 				WarningLevel="3"
 				SuppressStartupBanner="TRUE"
@@ -45,7 +45,7 @@
 				LinkIncremental="1"
 				SuppressStartupBanner="TRUE"
 				AdditionalLibraryDirectories=""$(WXWIDGETS_HOME)\lib\vc_lib""
-				ProgramDatabaseFile=".\Release/PTCorrect.pdb"
+				ProgramDatabaseFile="$(OutDir)/$(ProjectName).pdb"
 				OptimizeReferences="2"
 				EnableCOMDATFolding="2"
 				ImportLibrary="$(OutDir)\$(TargetName).lib"
@@ -61,7 +61,7 @@
 			<Tool
 				Name="VCPostBuildEventTool"
 				Description="copy plug-in to photoshop plugin folder"
-				CommandLine="..\cpy.cmd $(OutDir)\$(TargetFileName)"/>
+				CommandLine="..\cpy.cmd &quot;$(OutDir)\$(TargetFileName)&quot;"/>
 			<Tool
 				Name="VCPreBuildEventTool"/>
 			<Tool
@@ -100,9 +100,9 @@
 				RuntimeLibrary="1"
 				UsePrecompiledHeader="0"
 				PrecompiledHeaderFile="$(OutDir)\$(TargetName).pch"
-				AssemblerListingLocation=".\Debug/"
-				ObjectFile=".\Debug/"
-				ProgramDataBaseFileName=".\Debug/"
+				AssemblerListingLocation=".\$(OutDir)/"
+				ObjectFile=".\$(OutDir)/"
+				ProgramDataBaseFileName=".\$(OutDir)/"
 				BrowseInformation="1"
 				WarningLevel="3"
 				SuppressStartupBanner="TRUE"
@@ -133,7 +133,7 @@
 			<Tool
 				Name="VCPostBuildEventTool"
 				Description="copy plug-in to photoshop plugin folder"
-				CommandLine="..\cpy.cmd $(OutDir)\$(TargetFileName)"/>
+				CommandLine="..\cpy.cmd &quot;$(OutDir)\$(TargetFileName)&quot;"/>
 			<Tool
 				Name="VCPreBuildEventTool"/>
 			<Tool
@@ -171,9 +171,9 @@
 				RuntimeLibrary="1"
 				UsePrecompiledHeader="0"
 				PrecompiledHeaderFile="$(OutDir)\$(TargetName).pch"
-				AssemblerListingLocation=".\Debug/"
-				ObjectFile=".\Debug/"
-				ProgramDataBaseFileName=".\Debug/"
+				AssemblerListingLocation=".\$(OutDir)/"
+				ObjectFile=".\$(OutDir)/"
+				ProgramDataBaseFileName=".\$(OutDir)/"
 				BrowseInformation="1"
 				WarningLevel="3"
 				SuppressStartupBanner="TRUE"
@@ -203,7 +203,7 @@
 			<Tool
 				Name="VCPostBuildEventTool"
 				Description="copy plug-in to photoshop plugin folder"
-				CommandLine="..\cpy.cmd $(OutDir)\$(TargetFileName)"/>
+				CommandLine="..\cpy.cmd &quot;$(OutDir)\$(TargetFileName)&quot;"/>
 			<Tool
 				Name="VCPreBuildEventTool"/>
 			<Tool
@@ -242,9 +242,9 @@
 				EnableFunctionLevelLinking="TRUE"
 				UsePrecompiledHeader="0"
 				PrecompiledHeaderFile="$(OutDir)\$(TargetName).pch"
-				AssemblerListingLocation=".\Release/"
-				ObjectFile=".\Release/"
-				ProgramDataBaseFileName=".\Release/"
+				AssemblerListingLocation=".\$(OutDir)/"
+				ObjectFile=".\$(OutDir)/"
+				ProgramDataBaseFileName=".\$(OutDir)/"
 				BrowseInformation="0"
 				WarningLevel="3"
 				SuppressStartupBanner="TRUE"
@@ -258,7 +258,7 @@
 				LinkIncremental="1"
 				SuppressStartupBanner="TRUE"
 				AdditionalLibraryDirectories=""
-				ProgramDatabaseFile=".\Release/PTCorrect.pdb"
+				ProgramDatabaseFile="$(OutDir)/$(ProjectName).pdb"
 				OptimizeReferences="2"
 				EnableCOMDATFolding="2"
 				ImportLibrary="$(OutDir)\$(TargetName).lib"
@@ -274,7 +274,7 @@
 			<Tool
 				Name="VCPostBuildEventTool"
 				Description="copy plug-in to photoshop plugin folder"
-				CommandLine="..\cpy.cmd $(OutDir)\$(TargetFileName)"/>
+				CommandLine="..\cpy.cmd &quot;$(OutDir)\$(TargetFileName)&quot;"/>
 			<Tool
 				Name="VCPreBuildEventTool"/>
 			<Tool
@@ -486,12 +486,6 @@
 						BrowseInformation="1"/>
 				</FileConfiguration>
 			</File>
-			<File
-				RelativePath="..\..\libpano\PTDialogs.c">
-			</File>
-			<File
-				RelativePath="..\..\libpano\sys_win.c">
-			</File>
 		</Filter>
 		<Filter
 			Name="Header Files"
@@ -513,9 +507,6 @@
 			</File>
 			<File
 				RelativePath="resource.h">
-			</File>
-			<File
-				RelativePath="..\..\libpano\sys_win.h">
 			</File>
 		</Filter>
 		<Filter