fixes for windows registry, make sure we find the datapath
Merge pull request #42 from h4xxel/master

windows registry fixes