Made it easier to change a window's geometry and moved stack to using it.

I need to fix the Z fighting issue when in zoom mode (grid mode inherits this).