I just got the whip out the shed and planning to head to geelong for Xmas so prepping gear early. She has these hairline cracks on the rails and I've shoved some putty in there before but this time round I wanna do a "proper" job

Any tips on how to gouge out the rail and get a good key for the glass?
And any tips on stuff to use?
Heard the bunnings tin burns out the core polystyrene or whatever that foam is inside