refactored and fixed windows registry feature, refs #30