Fixed Windows crashes. Added Windows registry combing.

The script now combs the registry for changes on Windows.