Editor: windows fixes