This fussy protocol droid was re-assembled by young Anakin Skywalker from his scraps on Tatooine
I like that they didn't just have Young Luke, Young Han, Young .... Re: the ending: 
I thought it works nicely as a Star Wars inter-triology type ending.