How to include G4P controls with saveFrame

I will ask a new question only with the problem code, thanks for your advice.