Code now deploys correctly.  Added failsafe for fullscreen close.