I think the window issue is fixed

used global variable. it is definitely working as it should on vizio
windows 8...