fixed saving chan/server winow size on exit