Permits are only required when building paper is exposed or when any framing is needed to enlarge or make the opening work for the window/door. Retrofit windows do not need to meet current egress requirements as long as the window met code requirements at the time of original construction.