close resources which were never closed, display Google Docs Viewer inline