Add window close ,code didnt have time :p