Sorry to hear about the car. That's a huge bummer.
If/when mine goes south... upgrade engine time. I believe if a car otherwise is in great condition mechanically... you're not going to get anything that will be less costly. Further, if the car appearance... the exterior... the interior... the acoutrements... knowbs... handles... buttons... you know, 8-9/10 showroom... just slap in a new engine.
I can hardly wait!