Refine window.vala