windows path fix and some gui stuff