Not to add to the comments on how to deal with the putty, but one point with this job will be to get off all the black paint that is on the glass, because it will remain visible from the inside even if painted over.
I would always do this when repainting even if not changing colour, because...