Balancing different needs: enhancing energy efficiency and preserving historic windows