- exit frame from windows button is working
-fix some conection that left open