finished window and control loading from xml