windows compatibility fixes in setup and the gui interface