Added Windows support to the new updater.

Also cleaned up a comments and loig statements.