Fixed window and added run to build.xml