Improve Project.xml template (mainly <window>-related)