Work on window functions.

- show/hide
- dimension comparision
window::set_visible