Added feature to limit resize to one axis

Window.cs library changed...