Added a lot of control for window tiling