Use a window property

Let's me reach the window easily from the console.
Solved memory leak caused by an undetectable retain cycle