Remove the dependency on System.Windows.Forms
Add support for 64-bit registry
provided fix for x64
Merge branch 'Jeremy-master'