windows port of the gui and some other stuff