How to include G4P controls with saveFrame

saveFrame () is just before “exit” there is nothing after.

Captura