Added debug to config dialog.\nAdded basic windows logging