startings of windows support (thanks anmo)
added writeString to bridge