remove trailing white spaces
adds window slip improvemnts