Better control of resource windows