added WindowActions component and some bug fix
anges. Lines starting