Have we ruined the window frame?

Hi all,

Recently bought a 1904 mid terrace in Warrington. Been tenanted for 10 years and everywhere has a million layers of paint.

Decided to try and strip the window frame using a heat gun and scraping but we've done a pretty horrendous job from what I can tell.

Firstly, is this salvageable? Huge chunks of wood taken out?

Secondly, have we removed enough layers here? Unsure what's paint / primer etc.

Complete DIY novice here so feeling a little overwhelmed with it all - any help would be appreciated!

Thank you