Reverted to adding frame in onWindowFocusChanged for better UI in narrative browser

Also made sure to exit properly on error
Don't include links when getting existing text/image
Added frame spanning changes to camera activity (testing required)
Fixed an issue where deleted icons were getting updated by mistake
Fixed a concurrent removal issue in span toggling
Make sure to propagate icon changes when rotating the image
Added frame spanning changes to audio activity and removed unused deprecated methods
Save last edited frame rather than switching (to avoid launching a new activity)

This also fixes a problem where the wrong frame content was shown if
switching frames between returning to the frame editor
Audio is now inherited by all following frames until the limit (currently 3) is reached
Made sure to copy links when making/importing templates
Added a new icon to indicate from the frame editor whether media is spanning
Missed icon from previous commit
Started to incorporate frame spanning items into playback; limit to one spanning audio item per frame