The kink has probably shortened the stay by a wee bit. I would straighten it out thinking of how to isolate the bending back.
check the alignment carefully, probably best before and after. I am thinking with a fresh set of wheels in also.
roll the top tube dent out and a swipe or two of bondo and done.
of course no powder coat easy solution for a repaint.
honest value after to anyone else? Not much. As a bike to use, plus, plus.