The best tool for cutting in around windows is a small brush or an angled painter's pole having an angled brush attached to the end. The key is to cover both sides of the brush bristles with paint so that you can hold it at an angle where light will not show through.