Basic Window Boundaries

Not a lot here. Just fixed some logic that should have been working before.