That probably would be better way, I dint give it much of thought for now as only single window is supported anyways.