To exit the application choose "Exit" from the switchboard, or click the "X" in the far upper right corner of the screen. This will close the prototype and save all changes.