Cleaned the window and other functions (windex was used)