added :W->:w correction and some wandows stuff