Use project.window and project.windows[] instead of project.window[] in HXP, fix --window overrides