Now using FileList.setViewerMode in embeded apps

Text editor and ODF viewer now use FileList.setViewerMode() calls to
make sure the controls bar is restored properly to its previous state
upon closing.