Some updates to make the tool work on Windows and fixes to the Windows GUI