It sounds like you over heated the engine and have damaged the head gasket. do not drive and have you car looked at more in detail to confirm the head gasket is indeed the problem
I have had the parking lights on my 1998 forester stay on w/ no way to turn off. Used the remote door lock to lock and unlock car and the lights went off?????????? This has happened twice with the same solution
I have a few trouble shooting tips for the problem with your Subaru Forester key fob.
1) Make sure you have the correct key fob part number. There are a couple different part numbers that are almost exactly the same.
2) Wipe the board
The board inside your remote can get a lot more filthy than you think! When the board is dirty it can prohibit the contact to the circuit board when you push down on the button. Simply wiping the circuit board off can make your key fob like new again!
3) The old car battery reset trick
I know this sounds absurd, but it works sometimes and is worth trying. If you exhausted all of the options above, disconnect bot terminals on your car battery for 10 minutes. Then reconnect them and try your key fob. This has worked for many people and I have no idea why. If you do, please comment below to explain.
4) Not sure where you bought the new key fob from, but some of the suppliers on eBay can be knock off quality. Try sending the one you purchased back and order one from here:
https://www.keylessentryremotefob.com/Subaru-Forester-Remotes-and-Keys-s/5381.htm
If it doesn't program, it is probably lived it's life. If it's been in there since 09. When I get cars with after market remotes/security. And they are having problems. The first thing I take out is the remote systems. So for this has fixed every car. Good ones last about 7 years, cheap ones will get you maybe 2 years.
The symptoms all indicate a dirty (oily grime) build up in the throttle body interior. You will be pleased to learn the 'fix' should be quick and low cost.Disconnect the air ducting between the air cleaner/filter housing and the throttle body. Spray WD40 or Carb choke cleaner into the throttle body interior and the throttle plate. Rub and wipe away the grime. Keep doing this until the interior looks like new. Turn the throttle Plate by applying pressure the the top half with your fingers. Clean as much as you can beyond it. Locate your idle air control (IAC) valve ( on or near the throttle body) and associated air passages to and from it. Clean these, if necessary dismount the IAC valve and soak the valve until free of all dirt. Reassemble everything and reinstate the ducting and you are done!
On your next clutch replacement make sure you take the flywheel off and get it machined flat, install a new pressure plate and friction disk and replace the throwout bearing also...Don't be cheap and try to get by with just a friction disk...do it right and it will work for a long time. and take your foot off the clutch peddle when driving!