Full screen needs to add an action in the first frame: fscommand("fullscreen ","true ");
When you exit, you can add a button at the end, and set the button action as follows:
Open (release) {
fs command(" quit ");
}