window: initialize few variables