fix creating multiple windows
Messing around.