diff --git a/winbuild/sgminer.sln b/winbuild/sgminer.sln
index d28c66c0..1640fba4 100644
--- a/winbuild/sgminer.sln
+++ b/winbuild/sgminer.sln
@@ -1,26 +1,26 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sgminer", "sgminer.vcxproj", "{CCA64DCD-6401-42A3-ABC3-89E48A36D239}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Win32 = Debug|Win32
- Debug|x64 = Debug|x64
- Release|Win32 = Release|Win32
- Release|x64 = Release|x64
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Debug|Win32.ActiveCfg = Debug|Win32
- {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Debug|Win32.Build.0 = Debug|Win32
- {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Debug|x64.ActiveCfg = Debug|x64
- {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Debug|x64.Build.0 = Debug|x64
- {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Release|Win32.ActiveCfg = Release|Win32
- {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Release|Win32.Build.0 = Release|Win32
- {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Release|x64.ActiveCfg = Release|x64
- {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Release|x64.Build.0 = Release|x64
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual C++ Express 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sgminer", "sgminer.vcxproj", "{CCA64DCD-6401-42A3-ABC3-89E48A36D239}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Debug|Win32.ActiveCfg = Debug|Win32
+ {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Debug|Win32.Build.0 = Debug|Win32
+ {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Debug|x64.ActiveCfg = Debug|x64
+ {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Debug|x64.Build.0 = Debug|x64
+ {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Release|Win32.ActiveCfg = Release|Win32
+ {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Release|Win32.Build.0 = Release|Win32
+ {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Release|x64.ActiveCfg = Release|x64
+ {CCA64DCD-6401-42A3-ABC3-89E48A36D239}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/winbuild/sgminer.vcxproj b/winbuild/sgminer.vcxproj
index 005c480a..77426c51 100644
--- a/winbuild/sgminer.vcxproj
+++ b/winbuild/sgminer.vcxproj
@@ -1,304 +1,363 @@
-
-
-
-
- Debug
- Win32
-
-
- Debug
- x64
-
-
- Release
- Win32
-
-
- Release
- x64
-
-
-
- {CCA64DCD-6401-42A3-ABC3-89E48A36D239}
- Win32Proj
- sgminer
-
-
-
- Application
- true
- MultiByte
-
-
- Application
- true
- MultiByte
-
-
- Application
- false
- true
- MultiByte
-
-
- Application
- false
- true
- MultiByte
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- false
- $(SolutionDir)output\x86\$(Configuration)\
- $(SolutionDir)output\x86\obj\
-
-
- false
- $(SolutionDir)output\x64\$(Configuration)\
- $(SolutionDir)output\x64\obj\
-
-
- false
- $(SolutionDir)output\x86\$(Configuration)\
- $(SolutionDir)output\x86\obj\
-
-
- false
- $(SolutionDir)output\x64\$(Configuration)\
- $(SolutionDir)output\x64\obj\
-
-
-
-
-
- Level3
- Disabled
- USE_SSE2;WIN32;NDEBUG;_CONSOLE;PTW32_STATIC_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;WIN32_LEAN_AND_MEAN
- CompileAsCpp
- $(ProjectDir)..;$(ProjectDir)dist\include\;$(ProjectDir)..\compat\jansson-2.5\src\;%(AdditionalIncludeDirectories)
- true
- false
- false
- true
- StreamingSIMDExtensions2
-
-
- Console
- true
- $(ProjectDir)dist\lib\x86
- %(AdditionalDependencies)
- false
- true
-
-
-
- xcopy /Y /E /I "$(ProjectDir)..\kernel" "$(OutDir)\kernel"
-
-
-
- del /f "$(OutDir)*.exe"
-del /f "$(OutDir)*.dll"
-
-type nul > "$(ProjectDir)dist\include\gitversion.h"
-FOR /F "tokens=*" %%i IN ('call git describe "--abbrev=4" --dirty') DO echo #define GIT_VERSION "%%i" > "$(ProjectDir)dist\include\gitversion.h"
-exit 0
-
-
-
-
-
-
- Level3
- Disabled
- _M_AMD64;_AMD64_;WIN32;_WIN64;NDEBUG;_CONSOLE;PTW32_STATIC_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;WIN32_LEAN_AND_MEAN
- CompileAsCpp
- $(ProjectDir)..;$(ProjectDir)dist\include\;$(ProjectDir)..\compat\jansson-2.5\src\;%(AdditionalIncludeDirectories)
- true
- false
- false
- true
- StreamingSIMDExtensions2
-
-
- Console
- true
- $(ProjectDir)dist\lib\x64
- %(AdditionalDependencies)
- false
- true
-
-
-
- xcopy /Y /E /I "$(ProjectDir)..\kernel" "$(OutDir)\kernel"
-
-
-
- del /f "$(OutDir)*.exe"
-del /f "$(OutDir)*.dll"
-
-type nul > "$(ProjectDir)dist\include\gitversion.h"
-FOR /F "tokens=*" %%i IN ('call git describe "--abbrev=4" --dirty') DO echo #define GIT_VERSION "%%i" > "$(ProjectDir)dist\include\gitversion.h"
-exit 0
-
-
-
-
- Level3
-
-
- MaxSpeed
- true
- true
- _CONSOLE;WIN32;PTW32_STATIC_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;WIN32_LEAN_AND_MEAN
- CompileAsCpp
- $(ProjectDir)..;$(ProjectDir)dist\include\;$(ProjectDir)..\compat\jansson-2.5\src\;%(AdditionalIncludeDirectories)
- false
- false
- StreamingSIMDExtensions2
- MultiThreadedDLL
-
-
- Console
- false
- true
- false
- $(ProjectDir)dist\lib\x86
- %(AdditionalDependencies)
- LIBCMT
-
-
-
- xcopy /Y /E /I "$(ProjectDir)..\kernel" "$(OutDir)\kernel"
-
-
-
- del /f "$(OutDir)*.exe"
-del /f "$(OutDir)*.dll"
-
-type nul > "$(ProjectDir)dist\include\gitversion.h"
-FOR /F "tokens=*" %%i IN ('call git describe "--abbrev=4" --dirty') DO echo #define GIT_VERSION "%%i" > "$(ProjectDir)dist\include\gitversion.h"
-exit 0
-
-
-
-
- Level3
-
-
- MaxSpeed
- true
- true
- _M_AMD64;_AMD64_;WIN32;_WIN64;PTW32_STATIC_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;WIN32_LEAN_AND_MEAN
- CompileAsCpp
- $(ProjectDir)..;$(ProjectDir)dist\include\;$(ProjectDir)..\compat\jansson-2.5\src\;%(AdditionalIncludeDirectories)
- false
- false
- StreamingSIMDExtensions2
- MultiThreadedDLL
- true
-
-
- Console
- false
- true
- false
- $(ProjectDir)dist\lib\x64
- %(AdditionalDependencies)
- LIBCMT
-
-
-
-
-
- xcopy /Y /E /I "$(ProjectDir)..\kernel" "$(OutDir)\kernel"
-
-
-
- del /f "$(OutDir)*.exe"
-del /f "$(OutDir)*.dll"
-
-type nul > "$(ProjectDir)dist\include\gitversion.h"
-FOR /F "tokens=*" %%i IN ('call git describe "--abbrev=4" --dirty') DO echo #define GIT_VERSION "%%i" > "$(ProjectDir)dist\include\gitversion.h"
-exit 0
-
-
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {CCA64DCD-6401-42A3-ABC3-89E48A36D239}
+ Win32Proj
+ sgminer
+
+
+
+ Application
+ true
+ MultiByte
+
+
+ Application
+ true
+ MultiByte
+
+
+ Application
+ false
+ true
+ MultiByte
+
+
+ Application
+ false
+ true
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ false
+ $(SolutionDir)output\x86\$(Configuration)\
+ $(SolutionDir)output\x86\obj\
+
+
+ false
+ $(SolutionDir)output\x64\$(Configuration)\
+ $(SolutionDir)output\x64\obj\
+
+
+ false
+ $(SolutionDir)output\x86\$(Configuration)\
+ $(SolutionDir)output\x86\obj\
+
+
+ false
+ $(SolutionDir)output\x64\$(Configuration)\
+ $(SolutionDir)output\x64\obj\
+
+
+
+
+
+ Level3
+ Disabled
+ USE_SSE2;WIN32;NDEBUG;_CONSOLE;PTW32_STATIC_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;WIN32_LEAN_AND_MEAN
+ CompileAsCpp
+ $(ProjectDir)..;$(ProjectDir)dist\include\;$(ProjectDir)..\compat\jansson-2.5\src\;%(AdditionalIncludeDirectories)
+ true
+ false
+ false
+ true
+ StreamingSIMDExtensions2
+
+
+ Console
+ true
+ $(ProjectDir)dist\lib\x86
+ %(AdditionalDependencies)
+ false
+ true
+
+
+
+ xcopy /Y /E /I "$(ProjectDir)..\kernel" "$(OutDir)\kernel"
+
+
+
+ del /f "$(OutDir)*.exe"
+del /f "$(OutDir)*.dll"
+
+type nul > "$(ProjectDir)dist\include\gitversion.h"
+FOR /F "tokens=*" %%i IN ('call git describe "--abbrev=4" --dirty') DO echo #define GIT_VERSION "%%i" > "$(ProjectDir)dist\include\gitversion.h"
+exit 0
+
+
+
+
+
+
+ Level3
+ Disabled
+ _M_AMD64;_AMD64_;WIN32;_WIN64;NDEBUG;_CONSOLE;PTW32_STATIC_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;WIN32_LEAN_AND_MEAN
+ CompileAsCpp
+ $(ProjectDir)..;$(ProjectDir)dist\include\;$(ProjectDir)..\compat\jansson-2.5\src\;%(AdditionalIncludeDirectories)
+ true
+ false
+ false
+ true
+ StreamingSIMDExtensions2
+
+
+ Console
+ true
+ $(ProjectDir)dist\lib\x64
+ %(AdditionalDependencies)
+ false
+ true
+
+
+
+ xcopy /Y /E /I "$(ProjectDir)..\kernel" "$(OutDir)\kernel"
+
+
+
+ del /f "$(OutDir)*.exe"
+del /f "$(OutDir)*.dll"
+
+type nul > "$(ProjectDir)dist\include\gitversion.h"
+FOR /F "tokens=*" %%i IN ('call git describe "--abbrev=4" --dirty') DO echo #define GIT_VERSION "%%i" > "$(ProjectDir)dist\include\gitversion.h"
+exit 0
+
+
+
+
+ Level3
+
+
+ MaxSpeed
+ true
+ true
+ _CONSOLE;WIN32;PTW32_STATIC_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;WIN32_LEAN_AND_MEAN
+ CompileAsCpp
+ $(ProjectDir)..;$(ProjectDir)dist\include\;$(ProjectDir)..\compat\jansson-2.5\src\;%(AdditionalIncludeDirectories)
+ false
+ false
+ StreamingSIMDExtensions2
+ MultiThreadedDLL
+
+
+ Console
+ false
+ true
+ false
+ $(ProjectDir)dist\lib\x86
+ %(AdditionalDependencies)
+ LIBCMT
+
+
+
+ xcopy /Y /E /I "$(ProjectDir)..\kernel" "$(OutDir)\kernel"
+
+
+
+ del /f "$(OutDir)*.exe"
+del /f "$(OutDir)*.dll"
+
+type nul > "$(ProjectDir)dist\include\gitversion.h"
+FOR /F "tokens=*" %%i IN ('call git describe "--abbrev=4" --dirty') DO echo #define GIT_VERSION "%%i" > "$(ProjectDir)dist\include\gitversion.h"
+exit 0
+
+
+
+
+ Level3
+
+
+ MaxSpeed
+ true
+ true
+ _M_AMD64;_AMD64_;WIN32;_WIN64;PTW32_STATIC_LIB;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;WIN32_LEAN_AND_MEAN
+ CompileAsCpp
+ $(ProjectDir)..;$(ProjectDir)dist\include\;$(ProjectDir)..\compat\jansson-2.5\src\;%(AdditionalIncludeDirectories)
+ false
+ false
+ StreamingSIMDExtensions2
+ MultiThreadedDLL
+ true
+ $(IntDir)/%(RelativeDir)/
+
+
+ Console
+ false
+ true
+ false
+ $(ProjectDir)dist\lib\x64
+ %(AdditionalDependencies)
+ LIBCMT
+
+
+
+
+
+ xcopy /Y /E /I "$(ProjectDir)..\kernel" "$(OutDir)\kernel"
+
+
+
+ del /f "$(OutDir)*.exe"
+del /f "$(OutDir)*.dll"
+
+type nul > "$(ProjectDir)dist\include\gitversion.h"
+FOR /F "tokens=*" %%i IN ('call git describe "--abbrev=4" --dirty') DO echo #define GIT_VERSION "%%i" > "$(ProjectDir)dist\include\gitversion.h"
+exit 0
+
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/winbuild/sgminer.vcxproj.filters b/winbuild/sgminer.vcxproj.filters
index 5e31bb38..ac38c5fe 100644
--- a/winbuild/sgminer.vcxproj.filters
+++ b/winbuild/sgminer.vcxproj.filters
@@ -1,182 +1,362 @@
-
-
-
-
- {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
- cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
-
-
- {93995380-89BD-4b04-88EB-625FBE52EBFB}
- h;hh;hpp;hxx;hm;inl;inc;xsd
-
-
- {f88c4590-fe1f-4c7e-ac04-b7ee56ff742c}
-
-
- {d18d03ff-8391-466a-9992-6701c4dbf0f3}
-
-
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Source Files
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Source Files
-
-
- Source Files
-
-
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Libraries\jansson
-
-
- Header Files
-
-
- Header Files
-
-
- Header Files
-
-
-
-
-
-
+
+
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hh;hpp;hxx;hm;inl;inc;xsd
+
+
+ {f88c4590-fe1f-4c7e-ac04-b7ee56ff742c}
+
+
+ {d18d03ff-8391-466a-9992-6701c4dbf0f3}
+
+
+ {8ff97542-2c8c-456f-9b09-ff1e3910e80c}
+
+
+ {7bfc5c04-e7b8-4d6c-973c-2a0ed07b2a54}
+
+
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+ Source Files\sph
+
+
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Libraries\jansson
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+ Header Files\sph
+
+
+
+
+
+
\ No newline at end of file